summaryrefslogtreecommitdiff
path: root/board/tqc
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/tqc
parent94796d8544d4248028141bad11c6a74b840e9d6e (diff)
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/tqc')
-rw-r--r--board/tqc/tqm5200/cmd_stk52xx.c13
-rw-r--r--board/tqc/tqm5200/cmd_tb5200.c4
-rw-r--r--board/tqc/tqm8272/tqm8272.c2
3 files changed, 10 insertions, 9 deletions
diff --git a/board/tqc/tqm5200/cmd_stk52xx.c b/board/tqc/tqm5200/cmd_stk52xx.c
index 20632a7f1eb..e309beb1dc7 100644
--- a/board/tqc/tqm5200/cmd_stk52xx.c
+++ b/board/tqc/tqm5200/cmd_stk52xx.c
@@ -1201,21 +1201,21 @@ U_BOOT_CMD(
"sound square [duration] [freq] [channel]\n"
" - generate squarewave for 'duration' ms with frequency 'freq'\n"
" on left \"l\" or right \"r\" channel\n"
- "pcm1772 reg val\n"
+ "pcm1772 reg val"
);
U_BOOT_CMD(
wav , 3, 1, cmd_wav,
"play wav file",
"[addr] [bytes]\n"
- " - play wav file at address 'addr' with length 'bytes'\n"
+ " - play wav file at address 'addr' with length 'bytes'"
);
U_BOOT_CMD(
beep , 2, 1, cmd_beep,
"play short beep",
"[channel]\n"
- " - play short beep on \"l\"eft or \"r\"ight channel\n"
+ " - play short beep on \"l\"eft or \"r\"ight channel"
);
#endif /* CONFIG_STK52XX || CONFIG_FO300 */
@@ -1228,10 +1228,11 @@ U_BOOT_CMD(
"fkt can\n"
" - loopback plug for X83 required\n"
"fkt rs232 number\n"
- " - loopback plug(s) for X2 required\n"
+ " - loopback plug(s) for X2 required"
#ifndef CONFIG_TQM5200S
+ "\n"
"fkt backlight on/off\n"
- " - switch backlight on or off\n"
+ " - switch backlight on or off"
#endif /* !CONFIG_TQM5200S */
);
#elif defined(CONFIG_FO300)
@@ -1241,7 +1242,7 @@ U_BOOT_CMD(
"fkt can\n"
" - loopback plug for X16/X29 required\n"
"fkt rs232 number\n"
- " - loopback plug(s) for X21/X22 required\n"
+ " - loopback plug(s) for X21/X22 required"
);
#endif
#endif
diff --git a/board/tqc/tqm5200/cmd_tb5200.c b/board/tqc/tqm5200/cmd_tb5200.c
index b9c9e7e194e..578e716e7a4 100644
--- a/board/tqc/tqm5200/cmd_tb5200.c
+++ b/board/tqc/tqm5200/cmd_tb5200.c
@@ -91,13 +91,13 @@ int cmd_backlight(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
led , 2, 1, cmd_led,
"switch status LED on or off",
- "on/off\n"
+ "on/off"
);
U_BOOT_CMD(
backlight , 2, 1, cmd_backlight,
"switch backlight on or off",
- "on/off\n"
+ "on/off"
);
#endif /* CONFIG_STK52XX */
diff --git a/board/tqc/tqm8272/tqm8272.c b/board/tqc/tqm8272/tqm8272.c
index 5bc080ff81e..92f74a39cca 100644
--- a/board/tqc/tqm8272/tqm8272.c
+++ b/board/tqc/tqm8272/tqm8272.c
@@ -867,7 +867,7 @@ int do_hwib_dump (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
hwib, 1, 1, do_hwib_dump,
"dump HWIB'",
- "\n"
+ ""
);
#ifdef CONFIG_SYS_UPDATE_FLASH_SIZE