diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-14 21:23:06 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-14 21:23:06 +0000 |
commit | 67991cf824f8df27e74c92d754fb507681c69ce6 (patch) | |
tree | a0b652f3dc794d1050c1a8de3afb014a621238fa /coreutils/mkdir.c | |
parent | 68be2ab914e1e20fe666bbd22a89a18714be2789 (diff) | |
download | busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.gz busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.bz2 busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.zip |
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) | |||
48 | switch (**argv) { | 48 | switch (**argv) { |
49 | case 'm': | 49 | case 'm': |
50 | if (--argc == 0) | 50 | if (--argc == 0) |
51 | usage(mkdir_usage); | 51 | show_usage(); |
52 | /* Find the specified modes */ | 52 | /* Find the specified modes */ |
53 | mode = 0; | 53 | mode = 0; |
54 | if (parse_mode(*(++argv), &mode) == FALSE) { | 54 | if (parse_mode(*(++argv), &mode) == FALSE) { |
@@ -63,7 +63,7 @@ extern int mkdir_main(int argc, char **argv) | |||
63 | parentFlag = TRUE; | 63 | parentFlag = TRUE; |
64 | break; | 64 | break; |
65 | default: | 65 | default: |
66 | usage(mkdir_usage); | 66 | show_usage(); |
67 | } | 67 | } |
68 | } | 68 | } |
69 | argc--; | 69 | argc--; |
@@ -71,7 +71,7 @@ extern int mkdir_main(int argc, char **argv) | |||
71 | } | 71 | } |
72 | 72 | ||
73 | if (argc < 1) { | 73 | if (argc < 1) { |
74 | usage(mkdir_usage); | 74 | show_usage(); |
75 | } | 75 | } |
76 | 76 | ||
77 | while (argc > 0) { | 77 | while (argc > 0) { |