commit | ddb3af9a122b315fd097afa9b45796b977ed7011 | [log] [tgz] |
---|---|---|
author | Peter Tyser <ptyser@xes-inc.com> | Tue Jan 27 18:03:10 2009 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Wed Jan 28 08:43:45 2009 +0100 |
tree | dac70a1eebda8bb6c05b95db3a7bebffeff94b3b | |
parent | 7467e849e108bd6145f2749ec627eee6d9341823 [diff] [blame] |
Standardize command usage messages with cmd_usage() Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
diff --git a/common/cmd_itest.c b/common/cmd_itest.c index 9e77fa9..b3025e3 100644 --- a/common/cmd_itest.c +++ b/common/cmd_itest.c
@@ -161,7 +161,7 @@ /* Validate arguments */ if ((argc != 4)){ - printf("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; }