summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkdir.c b/src/mkdir.c
index 89886e158..8ddb1e6f2 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -43,7 +43,7 @@ static int show_version;
static struct option const longopts[] =
{
{"mode", required_argument, NULL, 'm'},
- {"parents", no_argument, &path_mode, 1},
+ {"parents", no_argument, NULL, 'p'},
{"help", no_argument, &show_help, 1},
{"verbose", no_argument, NULL, 2},
{"version", no_argument, &show_version, 1},