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 /common/cmd_immap.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 'common/cmd_immap.c')
| -rw-r--r-- | common/cmd_immap.c | 33 | 
1 files changed, 16 insertions, 17 deletions
| diff --git a/common/cmd_immap.c b/common/cmd_immap.c index c8367f0fb..37e60582f 100644 --- a/common/cmd_immap.c +++ b/common/cmd_immap.c @@ -615,39 +615,39 @@ do_mccinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])  U_BOOT_CMD(  	siuinfo,	1,	1,	do_siuinfo,  	"print System Interface Unit (SIU) registers", -	NULL +	""  );  U_BOOT_CMD(  	memcinfo,	1,	1,	do_memcinfo,  	"print Memory Controller registers", -	NULL +	""  );  U_BOOT_CMD(  	sitinfo,	1,	1,	do_sitinfo,  	"print System Integration Timers (SIT) registers", -	NULL +	""  );  #ifdef CONFIG_8260  U_BOOT_CMD(  	icinfo,	1,	1,	do_icinfo,  	"print Interrupt Controller registers", -	NULL +	""  );  #endif  U_BOOT_CMD(  	carinfo,	1,	1,	do_carinfo,  	"print Clocks and Reset registers", -	NULL +	""  );  U_BOOT_CMD(  	iopinfo,	1,	1,	do_iopinfo,  	"print I/O Port registers", -	NULL +	""  );  U_BOOT_CMD( @@ -659,62 +659,61 @@ U_BOOT_CMD(  U_BOOT_CMD(  	dmainfo,	1,	1,	do_dmainfo,  	"print SDMA/IDMA registers", -	NULL +	""  );  U_BOOT_CMD(  	fccinfo,	1,	1,	do_fccinfo,  	"print FCC registers", -	NULL +	""  );  U_BOOT_CMD(  	brginfo,	1,	1,	do_brginfo,  	"print Baud Rate Generator (BRG) registers", -	NULL +	""  );  U_BOOT_CMD(  	i2cinfo,	1,	1,	do_i2cinfo,  	"print I2C registers", -	NULL +	""  );  U_BOOT_CMD(  	sccinfo,	1,	1,	do_sccinfo,  	"print SCC registers", -	NULL +	""  );  U_BOOT_CMD(  	smcinfo,	1,	1,	do_smcinfo,  	"print SMC registers", -	NULL +	""  );  U_BOOT_CMD(  	spiinfo,	1,	1,	do_spiinfo,  	"print Serial Peripheral Interface (SPI) registers", -	NULL +	""  );  U_BOOT_CMD(  	muxinfo,	1,	1,	do_muxinfo,  	"print CPM Multiplexing registers", -	NULL +	""  );  U_BOOT_CMD(  	siinfo,	1,	1,	do_siinfo,  	"print Serial Interface (SI) registers", -	NULL +	""  );  U_BOOT_CMD(  	mccinfo,	1,	1,	do_mccinfo,  	"print MCC registers", -	NULL +	""  ); -  #endif |