summaryrefslogtreecommitdiff
path: root/src/dircolors.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-10-03 02:45:59 +0000
committerJim Meyering <jim@meyering.net>1996-10-03 02:45:59 +0000
commita3edb3f940a0bb7385e9f5846b67e3a8c8295e6d (patch)
treed73b6718375a93704123dfc84ee2f33772ac365d /src/dircolors.c
parent9b34a4a7c6d48a18d038c3887a3f043990b48edd (diff)
downloadcoreutils-a3edb3f940a0bb7385e9f5846b67e3a8c8295e6d.tar.xz
(usage): Deprecate --print-data-base even though
that's the way GNU make writes it. `database' is one word. Add description of FILE argument.
Diffstat (limited to 'src/dircolors.c')
-rw-r--r--src/dircolors.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dircolors.c b/src/dircolors.c
index b83cf12d4..13d4520bf 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -88,6 +88,7 @@ static struct option const long_options[] =
{"csh", no_argument, NULL, 'c'},
{"c-shell", no_argument, NULL, 'c'},
{"help", no_argument, NULL, 'h'},
+ /* I deprecate --print-data-base. `database' is one word. */
{"print-data-base", no_argument, NULL, 'p'},
{"print-database", no_argument, NULL, 'p'},
{"version", no_argument, NULL, 'v'},
@@ -111,9 +112,13 @@ Output commands to set the LS_COLORS environment variable.\n\
Determine format of output:\n\
-b, --sh, --bourne-shell output Bourne shell code to set LS_COLORS\n\
-c, --csh, --c-shell output C shell code to set LS_COLORS\n\
- -p, --print-data-base output defaults\n\
+ -p, --print-database output defaults\n\
--help display this help and exit\n\
--version output version information and exit\n\
+\n\
+If FILE is specified, read it to determine which colors to use for which\n\
+file types and extensions. Otherwise, a precompiled database is used.\n\
+For details on the format of these files, run `dircolors --print-database'.\n\
"));
puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu"));
}