diff options
Diffstat (limited to 'src/mkdir.c')
-rw-r--r-- | src/mkdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index d8de4aff2..00bde815f 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -46,8 +46,8 @@ char *program_name; static struct option const longopts[] = { - {"mode", 1, NULL, 'm'}, - {"path", 0, &path_mode, 1}, + {"mode", required_argument, NULL, 'm'}, + {"path", no_argument, &path_mode, 1}, {NULL, 0, NULL, 0} }; |