diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-15 00:23:06 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-15 00:23:06 +0300 |
commit | 67991cf824f8df27e74c92d754fb507681c69ce6 (patch) | |
tree | a0b652f3dc794d1050c1a8de3afb014a621238fa /coreutils/mkdir.c | |
parent | 68be2ab914e1e20fe666bbd22a89a18714be2789 (diff) |
This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
Diffstat (limited to 'coreutils/mkdir.c')
-rw-r--r-- | coreutils/mkdir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index 299f29806..285d34f12 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c @@ -48,7 +48,7 @@ extern int mkdir_main(int argc, char **argv) switch (**argv) { case 'm': if (--argc == 0) - usage(mkdir_usage); + show_usage(); /* Find the specified modes */ mode = 0; if (parse_mode(*(++argv), &mode) == FALSE) { @@ -63,7 +63,7 @@ extern int mkdir_main(int argc, char **argv) parentFlag = TRUE; break; default: - usage(mkdir_usage); + show_usage(); } } argc--; @@ -71,7 +71,7 @@ extern int mkdir_main(int argc, char **argv) } if (argc < 1) { - usage(mkdir_usage); + show_usage(); } while (argc > 0) { |