summaryrefslogtreecommitdiff
path: root/board/trab
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-01-27 18:03:10 -0600
committerWolfgang Denk <wd@denx.de>2009-01-28 08:43:45 +0100
commit62c3ae7c6ef215b1afa614abdf61acf077752207 (patch)
treedac70a1eebda8bb6c05b95db3a7bebffeff94b3b /board/trab
parent84cde2bb409c07c6ef36a192d194359d4e9ccd70 (diff)
downloadu-boot-imx-62c3ae7c6ef215b1afa614abdf61acf077752207.zip
u-boot-imx-62c3ae7c6ef215b1afa614abdf61acf077752207.tar.gz
u-boot-imx-62c3ae7c6ef215b1afa614abdf61acf077752207.tar.bz2
Standardize command usage messages with cmd_usage()
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'board/trab')
-rw-r--r--board/trab/cmd_trab.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c
index daa6aee..5020d60 100644
--- a/board/trab/cmd_trab.c
+++ b/board/trab/cmd_trab.c
@@ -168,7 +168,7 @@ int do_burn_in (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int cycle_status;
if (argc > 1) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
@@ -271,7 +271,7 @@ int do_dip (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int i, dip;
if (argc > 1) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
@@ -304,7 +304,7 @@ int do_vcc5v (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int vcc5v;
if (argc > 1) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
@@ -332,7 +332,7 @@ int do_contact_temp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int contact_temp;
if (argc > 1) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
@@ -355,7 +355,7 @@ U_BOOT_CMD(
int do_burn_in_status (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
if (argc > 1) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
@@ -851,7 +851,7 @@ int do_temp_log (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
#endif
if (argc > 2) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}