aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mkdir.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 21:23:06 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 21:23:06 +0000
commite171a359ad2de7143fd6ad25bed00304af1094ec (patch)
treea0b652f3dc794d1050c1a8de3afb014a621238fa /coreutils/mkdir.c
parent76ed9456991d2fbfcb6348953a579ee8fce06f1b (diff)
downloadbusybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.tar.gz
busybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.tar.bz2
busybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/mkdir.c')
-rw-r--r--coreutils/mkdir.c6
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) {