summaryrefslogtreecommitdiff
path: root/board/inka4x0
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-05-24 17:06:54 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:47:16 +0200
commita89c33db96a1e55319a286dd4c3c05ca64ac6bfd (patch)
tree512938dbd159b7262aad30e4304cfc05c350226c /board/inka4x0
parent94796d8544d4248028141bad11c6a74b840e9d6e (diff)
downloadu-boot-imx-a89c33db96a1e55319a286dd4c3c05ca64ac6bfd.zip
u-boot-imx-a89c33db96a1e55319a286dd4c3c05ca64ac6bfd.tar.gz
u-boot-imx-a89c33db96a1e55319a286dd4c3c05ca64ac6bfd.tar.bz2
General help message cleanup
Many of the help messages were not really helpful; for example, many commands that take no arguments would not print a correct synopsis line, but "No additional help available." which is not exactly wrong, but not helpful either. Commit ``Make "usage" messages more helpful.'' changed this partially. But it also became clear that lots of "Usage" and "Help" messages (fields "usage" and "help" in struct cmd_tbl_s respective) were actually redundant. This patch cleans this up - for example: Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat. After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dtt Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/inka4x0')
-rw-r--r--board/inka4x0/inkadiag.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/board/inka4x0/inkadiag.c b/board/inka4x0/inkadiag.c
index 12c0a85..3761ef6 100644
--- a/board/inka4x0/inkadiag.c
+++ b/board/inka4x0/inkadiag.c
@@ -439,14 +439,14 @@ static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
cmd_tbl_t cmd_inkadiag_sub[] = {
U_BOOT_CMD_MKENT(io, 1, 1, do_inkadiag_io, "read digital input",
- "<drawer1|drawer2|other> [value] - get or set specified signal\n"),
+ "<drawer1|drawer2|other> [value] - get or set specified signal"),
U_BOOT_CMD_MKENT(serial, 4, 1, do_inkadiag_serial, "test serial port",
"<num> <mode> <baudrate> <msg> - test uart num [0..11] in mode\n"
- "and baudrate with msg\n"),
+ "and baudrate with msg"),
U_BOOT_CMD_MKENT(buzzer, 2, 1, do_inkadiag_buzzer, "activate buzzer",
- "<period> <freq> - turn buzzer on for period ms with freq hz\n"),
+ "<period> <freq> - turn buzzer on for period ms with freq hz"),
U_BOOT_CMD_MKENT(help, 4, 1, do_inkadiag_help, "get help",
- "[command] - get help for command\n"),
+ "[command] - get help for command"),
};
static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag,
@@ -483,7 +483,7 @@ U_BOOT_CMD(inkadiag, 6, 1, do_inkadiag,
"inkadiag - inka diagnosis\n",
"[inkadiag what ...]\n"
" - perform a diagnosis on inka hardware\n"
- "'inkadiag' performs hardware tests.\n\n");
+ "'inkadiag' performs hardware tests.");
/* Relocate the command table function pointers when running in RAM */
int inkadiag_init_r (void) {