diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-01-27 18:03:12 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-28 08:49:52 +0100 |
commit | 2fb2604d5c20beb061b0a94282b7f6eb14d00cb8 (patch) | |
tree | 2b78cc5cbc9678d46449d873ef1ac0e02a13f2bc /include/command.h | |
parent | 79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff) |
Command usage cleanup
Remove command name from all command "usage" fields and update
common/command.c to display "name - usage" instead of
just "usage". Also remove newlines from command usage fields.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'include/command.h')
-rw-r--r-- | include/command.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h index 58992e9796f..d7321af92bc 100644 --- a/include/command.h +++ b/include/command.h @@ -33,6 +33,11 @@ #define NULL 0 #endif +/* Default to a width of 8 characters for help message command width */ +#ifndef CONFIG_SYS_HELP_CMD_WIDTH +#define CONFIG_SYS_HELP_CMD_WIDTH 8 +#endif + #ifndef __ASSEMBLY__ /* * Monitor Command Table |