From: Jim Meyering Date: Sun, 30 Aug 1998 02:58:50 +0000 (+0000) Subject: (longopts): Use corresponding short-option character X-Git-Tag: FILEUTILS-3_16v~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2cf8a2979c2db01ba1170ae13fa957f20004a4;p=thirdparty%2Fcoreutils.git (longopts): Use corresponding short-option character in place of `1', and `NULL' in place of pointer in initialization. --- diff --git a/src/mkdir.c b/src/mkdir.c index 89886e1581..8ddb1e6f25 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},