From: Jim Meyering Date: Wed, 10 Jul 1996 03:26:18 +0000 (+0000) Subject: (long_options): Add print-data-base and print-database. X-Git-Tag: FILEUTILS-3_12s~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d13e4b8ff798b44aecd48b6f6c5427919ac5f1;p=thirdparty%2Fcoreutils.git (long_options): Add print-data-base and print-database. (usage): Rearrange option descriptions. --- diff --git a/src/dircolors.c b/src/dircolors.c index 68b85e6931..765c1e9d63 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -88,6 +88,8 @@ static struct option const long_options[] = {"csh", no_argument, NULL, 'c'}, {"c-shell", no_argument, NULL, 'c'}, {"help", no_argument, NULL, 'h'}, + {"print-data-base", no_argument, NULL, 'p'}, + {"print-database", no_argument, NULL, 'p'}, {"version", no_argument, NULL, 'v'}, }; @@ -106,12 +108,12 @@ usage (int status) printf (_("\ Output commands to set the LS_COLOR environment variable.\n\ \n\ - -h, --help display this help and exit\n\ - --version output version information and exit\n\ Determine format of output:\n\ - -p, --print-data-base output defaults\n\ -b, --sh, --bourne-shell output Bourne shell code to set LS_COLOR\n\ -c, --csh, --c-shell output C shell code to set LS_COLOR\n")); + -p, --print-data-base output defaults\n\ + -h, --help display this help and exit\n\ + --version output version information and exit\n\ } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);