From 6a2cf8a2979c2db01ba1170ae13fa957f20004a4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 30 Aug 1998 02:58:50 +0000 Subject: (longopts): Use corresponding short-option character in place of `1', and `NULL' in place of pointer in initialization. --- src/mkdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mkdir.c') 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}, -- cgit v1.2.3-54-g00ecf