diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-30 02:58:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-30 02:58:50 +0000 |
commit | 6a2cf8a2979c2db01ba1170ae13fa957f20004a4 (patch) | |
tree | 4e79bb7231cc5b43410e22a49cb7ff23bf4ad77b | |
parent | 22fd1ff303a96d5ef0aee84c604ade0671924d74 (diff) | |
download | coreutils-6a2cf8a2979c2db01ba1170ae13fa957f20004a4.tar.xz |
(longopts): Use corresponding short-option character
in place of `1', and `NULL' in place of pointer in initialization.
-rw-r--r-- | src/mkdir.c | 2 |
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}, |