aboutsummaryrefslogtreecommitdiff
path: root/board/siemens
diff options
context:
space:
mode:
authorPeter Tyser2009-01-27 18:03:10 -0600
committerWolfgang Denk2009-01-28 08:43:45 +0100
commit62c3ae7c6ef215b1afa614abdf61acf077752207 (patch)
treedac70a1eebda8bb6c05b95db3a7bebffeff94b3b /board/siemens
parent84cde2bb409c07c6ef36a192d194359d4e9ccd70 (diff)
Standardize command usage messages with cmd_usage()
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'board/siemens')
-rw-r--r--board/siemens/common/fpga.c2
-rw-r--r--board/siemens/pcu_e/pcu_e.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/siemens/common/fpga.c b/board/siemens/common/fpga.c
index ac0022e7b13..63aa179d2db 100644
--- a/board/siemens/common/fpga.c
+++ b/board/siemens/common/fpga.c
@@ -286,7 +286,7 @@ int do_fpga (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
failure:
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
diff --git a/board/siemens/pcu_e/pcu_e.c b/board/siemens/pcu_e/pcu_e.c
index a60c825b2b5..25cf2bb2971 100644
--- a/board/siemens/pcu_e/pcu_e.c
+++ b/board/siemens/pcu_e/pcu_e.c
@@ -399,7 +399,7 @@ int do_puma (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
default:
break;
}
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}