summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Locke <kevin@kevinlocke.name>2021-04-16 18:07:19 -0600
committerJim Meyering <meyering@fb.com>2021-08-06 22:18:13 -0700
commit1a0f4d4c499ea2d89c2d1121b7290bb52de76ec0 (patch)
treef19646a74b1a06fd2971bf7b9657c1c3b966b517 /src
parent1a8c7e0a8e762c303969ea95d3e482d69a4b2240 (diff)
downloadgrep-1a0f4d4c499ea2d89c2d1121b7290bb52de76ec0.tar.gz
doc: usage: --group-separator/--no-group-separator
* src/grep.c (usage): Document --group-separator and --no-group-separator.
Diffstat (limited to 'src')
-rw-r--r--src/grep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grep.c b/src/grep.c
index d27d79e5..100acfb8 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2048,6 +2048,8 @@ Context control:\n\
"));
printf (_("\
-NUM same as --context=NUM\n\
+ --group-separator=SEP print SEP on line between matches with context\n\
+ --no-group-separator do not print separator for matches with context\n\
--color[=WHEN],\n\
--colour[=WHEN] use markers to highlight the matching strings;\n\
WHEN is 'always', 'never', or 'auto'\n\