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_strings.c b/common/cmd_strings.c index 7d05cf8..6f0cbca 100644 --- a/common/cmd_strings.c +++ b/common/cmd_strings.c
@@ -15,7 +15,7 @@ int do_strings(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; }