summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-30 02:58:50 +0000
committerJim Meyering <jim@meyering.net>1998-08-30 02:58:50 +0000
commit6a2cf8a2979c2db01ba1170ae13fa957f20004a4 (patch)
tree4e79bb7231cc5b43410e22a49cb7ff23bf4ad77b /src
parent22fd1ff303a96d5ef0aee84c604ade0671924d74 (diff)
downloadcoreutils-6a2cf8a2979c2db01ba1170ae13fa957f20004a4.tar.xz
(longopts): Use corresponding short-option character
in place of `1', and `NULL' in place of pointer in initialization.
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},