]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(longopts): Use corresponding short-option character
authorJim Meyering <jim@meyering.net>
Sun, 30 Aug 1998 02:58:50 +0000 (02:58 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Aug 1998 02:58:50 +0000 (02:58 +0000)
in place of `1', and `NULL' in place of pointer in initialization.

src/mkdir.c

index 89886e15815c9ade7407dd072d19ceed730882c8..8ddb1e6f25f8bad556231d80093a9da42d15ad66 100644 (file)
@@ -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},