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_mii.c b/common/cmd_mii.c index bcbd7aa..19a7fbd 100644 --- a/common/cmd_mii.c +++ b/common/cmd_mii.c
@@ -302,7 +302,7 @@ char *devname; if (argc < 2) { - printf("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; } @@ -431,7 +431,7 @@ else miiphy_set_current_dev (argv[2]); } else { - printf("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; }