The CommandProcessor is the interface to install a run-time menu into an embedded system.

Dependents:   A_CANAdapter USB2I2C

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sun Apr 10 21:04:49 2011 +0000
Parent:
8:25581f24f7f9
Child:
10:9e52bd1a4a71
Commit message:
Hide the \?\ command as the alternate to \Help\

Changed in this revision

CommandProcessor.c Show annotated file Show diff for this revision Revisions of this file
--- a/CommandProcessor.c	Sun Apr 10 19:42:08 2011 +0000
+++ b/CommandProcessor.c	Sun Apr 10 21:04:49 2011 +0000
@@ -89,8 +89,8 @@
 static RUNRESULT_T Exit(char *p);
 static RUNRESULT_T About(char *p);
 
-static CMD_T HelpMenu = {"Help", "Shows this help, 'Help ?' shows more details.", Help, visible};
-static CMD_T QuestionMenu = {"?", "Shows this help, '? ?' shows more details.", Help, visible};
+static CMD_T HelpMenu = {"Help", "Help or '?' shows this help, 'Help ?' shows more details.", Help, visible};
+static CMD_T QuestionMenu = {"?", "Shows this help, '? ?' shows more details.", Help, invisible};
 static CMD_T EchoMenu = {"Echo", "Echo [1|on|0|off] turns echo on or off.", Echo, visible};
 static CMD_T AboutMenu = {"About", "About this CommandProcessor", About, visible};
 static CMD_T ExitMenu = {"Exit", "Exits the program", Exit, visible};