diff options
| author | Wolfgang Denk <wd@denx.de> | 2009-05-24 17:06:54 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 20:47:16 +0200 | 
| commit | a89c33db96a1e55319a286dd4c3c05ca64ac6bfd (patch) | |
| tree | 512938dbd159b7262aad30e4304cfc05c350226c /board/amirix/ap1000/ap1000.c | |
| parent | 94796d8544d4248028141bad11c6a74b840e9d6e (diff) | |
| download | olio-uboot-2014.01-a89c33db96a1e55319a286dd4c3c05ca64ac6bfd.tar.xz olio-uboot-2014.01-a89c33db96a1e55319a286dd4c3c05ca64ac6bfd.zip | |
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/amirix/ap1000/ap1000.c')
| -rw-r--r-- | board/amirix/ap1000/ap1000.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/board/amirix/ap1000/ap1000.c b/board/amirix/ap1000/ap1000.c index fcf26984f..cadfe0b5b 100644 --- a/board/amirix/ap1000/ap1000.c +++ b/board/amirix/ap1000/ap1000.c @@ -670,14 +670,14 @@ U_BOOT_CMD (temp, 6, 0, do_temp_sensor,  	    "        - Set config options.\n"  	    "\n"  	    "All values can be decimal or hex (hex preceded with 0x).\n" -	    "Only whole numbers are supported for external limits.\n"); +	    "Only whole numbers are supported for external limits.");  #if 0  U_BOOT_CMD (loadace, 2, 0, do_loadace,  	    "load fpga configuration from System ACE compact flash",  	    "N\n"  	    "    - Load configuration N (0-7) from System ACE compact flash\n" -	    "loadace\n" "    - loads default configuration\n"); +	    "loadace\n" "    - loads default configuration");  #endif  U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte, @@ -685,19 +685,19 @@ U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte,  	    "N [ADDRESS]\n"  	    "    - set software configuration byte to N, optionally use ADDRESS as\n"  	    "      location of buffer for flash copy\n" -	    "swconfig\n" "    - display software configuration byte\n"); +	    "swconfig\n" "    - display software configuration byte");  U_BOOT_CMD (pause, 2, 0, do_pause,  	    "sleep processor until any key is pressed with poll time of N seconds",  	    "N\n"  	    "    - sleep processor until any key is pressed with poll time of N seconds\n"  	    "pause\n" -	    "    - sleep processor until any key is pressed with poll time of 1 second\n"); +	    "    - sleep processor until any key is pressed with poll time of 1 second");  U_BOOT_CMD (swrecon, 1, 0, do_swreconfig,  	    "trigger a board reconfigure to the software selected configuration",  	    "\n" -	    "    - trigger a board reconfigure to the software selected configuration\n"); +	    "    - trigger a board reconfigure to the software selected configuration");  int board_eth_init(bd_t *bis)  { |