summaryrefslogtreecommitdiff
path: root/src/dircolors.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-10 03:26:18 +0000
committerJim Meyering <jim@meyering.net>1996-07-10 03:26:18 +0000
commita4d13e4b8ff798b44aecd48b6f6c5427919ac5f1 (patch)
tree9e11113aac06d19783226aa6aff502ddb06cbcf3 /src/dircolors.c
parent12beb90e5818c182d4ce27a792aedb37a2c21420 (diff)
downloadcoreutils-a4d13e4b8ff798b44aecd48b6f6c5427919ac5f1.tar.xz
(long_options): Add print-data-base and print-database.
(usage): Rearrange option descriptions.
Diffstat (limited to 'src/dircolors.c')
-rw-r--r--src/dircolors.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dircolors.c b/src/dircolors.c
index 68b85e693..765c1e9d6 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);