summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-05-21 00:11:06 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-05-21 00:11:29 -0700
commitcaf365bc32a0b416f1dd33e13bda5b45cc1df9a6 (patch)
tree3d027e179fa360317375f80161e9a47f8a4a0523 /src
parent4c42ca30c6164e215b2db6dd6efcc3be1ae9e175 (diff)
downloaddiffutils-caf365bc32a0b416f1dd33e13bda5b45cc1df9a6.tar.gz
diff: better --color help
* src/diff.c (option_help_msgid): Reword --color help without using the confusing word “default”. Problem reported by Peter Oliver (Bug#48532).
Diffstat (limited to 'src')
-rw-r--r--src/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.c b/src/diff.c
index 6af50e8..9938daa 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -973,8 +973,8 @@ static char const * const option_help_msgid[] = {
N_("-d, --minimal try hard to find a smaller set of changes"),
N_(" --horizon-lines=NUM keep NUM lines of the common prefix and suffix"),
N_(" --speed-large-files assume large files and many scattered small changes"),
- N_(" --color[=WHEN] colorize the output; WHEN can be 'never', 'always',\n"
- " or 'auto' (the default)"),
+ N_(" --color[=WHEN] color output; WHEN is 'never', 'always', or 'auto';\n"
+ " plain --color means --color='auto'"),
N_(" --palette=PALETTE the colors to use when --color is active; PALETTE is\n"
" a colon-separated list of terminfo capabilities"),
"",