summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-11-28 17:39:45 -0500
committerAndrew Gallant <jamslam@gmail.com>2016-11-28 17:40:44 -0500
commitd12bdf35a57733184f5db897f685d8626a1a4b18 (patch)
tree454b6c5dff488caf00c79dde71ebc23c0647a2b5 /src
parent08514e8e6c88fe79bc2b30d2cc767b4fc1a901d9 (diff)
Clarify use of --heading/--no-heading.
Fixes #247.
Diffstat (limited to 'src')
-rw-r--r--src/app.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/app.rs b/src/app.rs
index 231f6bcb..937529f3 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -338,11 +338,13 @@ lazy_static! {
doc!(h, "heading",
"Show matches grouped by each file.",
"This shows the file name above clusters of matches from each \
- file. This is the default mode at a tty.");
+ file instead of showing the file name for every match. This is \
+ the default mode at a tty.");
doc!(h, "no-heading",
"Don't group matches by each file.",
- "Don't group matches by each file. This is the default mode \
- when not at a tty.");
+ "Don't group matches by each file. If -H/--with-filename is \
+ enabled, then file names will be shown for every line matched. \
+ This is the default mode when not at a tty.");
doc!(h, "hidden",
"Search hidden files and directories.",
"Search hidden files and directories. By default, hidden files \