summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/cmd_help.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-11 19:20:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-11 19:20:16 +0000
commit814d95887daac9891b56b0194390a087cb1248f0 (patch)
tree917f56778c637f9579a6ed7da9c66540a98ab50d /cpukit/libmisc/shell/cmd_help.c
parent2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-814d95887daac9891b56b0194390a087cb1248f0.tar.bz2
2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c, libmisc/shell/internal.h, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set processing now separated from main command loop. Addition of user commands and aliases tested. Monitor registration now explicit. * libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c, libmisc/shell/write_file.c: New files.
Diffstat (limited to 'cpukit/libmisc/shell/cmd_help.c')
-rw-r--r--cpukit/libmisc/shell/cmd_help.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/cmd_help.c b/cpukit/libmisc/shell/cmd_help.c
index 4a3bc18f09..964b511b2b 100644
--- a/cpukit/libmisc/shell/cmd_help.c
+++ b/cpukit/libmisc/shell/cmd_help.c
@@ -73,7 +73,11 @@ int shell_help_cmd(shell_cmd_t * shell_cmd) {
* Can you see the header of routine? Known?
* The same with all the commands....
*/
-int shell_help(int argc,char * argv[]) {
+int shell_help(
+ int argc,
+ char * argv[]
+)
+{
int col,line,arg;
shell_topic_t *topic;
shell_cmd_t * shell_cmd = shell_first_cmd;