*
*/
+#include <stdio.h>
+#include <errno.h>
+#include <string.h>
+#include <stdlib.h>
#include "busybox.h"
#define bb_need_name_too_long
#define BB_DECLARE_EXTERN
#include "messages.c"
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
-#include <stdlib.h>
static int parentFlag = FALSE;
static mode_t mode = 0777;
switch (**argv) {
case 'm':
if (--argc == 0)
- usage(mkdir_usage);
+ show_usage();
/* Find the specified modes */
mode = 0;
if (parse_mode(*(++argv), &mode) == FALSE) {
parentFlag = TRUE;
break;
default:
- usage(mkdir_usage);
+ show_usage();
}
}
argc--;
}
if (argc < 1) {
- usage(mkdir_usage);
+ show_usage();
}
while (argc > 0) {