mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-04-19 09:02:15 +02:00
parent
08514e8e6c
commit
d12bdf35a5
8
doc/rg.1
8
doc/rg.1
@ -222,13 +222,17 @@ This is the default when one file is searched.
|
|||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B \-\-heading
|
.B \-\-heading
|
||||||
Show the file name above clusters of matches from each file.
|
Show the file name above clusters of matches from each file instead of
|
||||||
|
showing the file name for every match.
|
||||||
This is the default mode at a tty.
|
This is the default mode at a tty.
|
||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B \-\-no\-heading
|
.B \-\-no\-heading
|
||||||
Don\[aq]t show any file name heading.
|
Don\[aq]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 more when not at a tty.
|
||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
|
@ -147,11 +147,13 @@ Project home page: https://github.com/BurntSushi/ripgrep
|
|||||||
one file is searched.
|
one file is searched.
|
||||||
|
|
||||||
--heading
|
--heading
|
||||||
: Show the file name above clusters of matches from each file.
|
: Show the file name above clusters of matches from each file instead of
|
||||||
This is the default mode at a tty.
|
showing the file name for every match. This is the default mode at a tty.
|
||||||
|
|
||||||
--no-heading
|
--no-heading
|
||||||
: Don't show any file name heading.
|
: 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 more
|
||||||
|
when not at a tty.
|
||||||
|
|
||||||
--hidden
|
--hidden
|
||||||
: Search hidden directories and files. (Hidden directories and files are
|
: Search hidden directories and files. (Hidden directories and files are
|
||||||
|
@ -338,11 +338,13 @@ lazy_static! {
|
|||||||
doc!(h, "heading",
|
doc!(h, "heading",
|
||||||
"Show matches grouped by each file.",
|
"Show matches grouped by each file.",
|
||||||
"This shows the file name above clusters of matches from each \
|
"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",
|
doc!(h, "no-heading",
|
||||||
"Don't group matches by each file.",
|
"Don't group matches by each file.",
|
||||||
"Don't group matches by each file. This is the default mode \
|
"Don't group matches by each file. If -H/--with-filename is \
|
||||||
when not at a tty.");
|
enabled, then file names will be shown for every line matched. \
|
||||||
|
This is the default mode when not at a tty.");
|
||||||
doc!(h, "hidden",
|
doc!(h, "hidden",
|
||||||
"Search hidden files and directories.",
|
"Search hidden files and directories.",
|
||||||
"Search hidden files and directories. By default, hidden files \
|
"Search hidden files and directories. By default, hidden files \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user