Skip to content

Commit

Permalink
Use 'glob' rather than 'pattern' for -g flag in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
YPCrumble committed Dec 22, 2016
1 parent da60f18 commit b5b5261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/rg.1
Expand Up @@ -76,7 +76,7 @@ result in unexpected behavior.
Combine with the \-\-files flag to return matched filenames (i.e., to
replicate ack/ag\[aq]s \-g flag).
.PP
For example: rg \-g \[aq]\[aq] \-\-files
For example: rg \-g \[aq]<glob>\[aq] \-\-files
.RE
.TP
.B \-h, \-\-help
Expand Down Expand Up @@ -213,7 +213,7 @@ Print each file that would be searched (but don\[aq]t search).
.PP
Combine with the \-g flag to return matched paths, for example:
.PP
rg \-g \[aq]\[aq] \-\-files
rg \-g \[aq]<glob>\[aq] \-\-files
.RE
.TP
.B \-l, \-\-files\-with\-matches
Expand Down
4 changes: 2 additions & 2 deletions doc/rg.1.md
Expand Up @@ -58,7 +58,7 @@ Project home page: https://github.com/BurntSushi/ripgrep
Combine with the --files flag to return matched filenames
(i.e., to replicate ack/ag's -g flag).

For example: rg -g '<pattern>' --files
For example: rg -g '\<glob\>' --files

-h, --help
: Show this usage message.
Expand Down Expand Up @@ -146,7 +146,7 @@ Project home page: https://github.com/BurntSushi/ripgrep

Combine with the -g flag to return matched paths, for example:

rg -g '<pattern>' --files
rg -g '\<glob\>' --files

-l, --files-with-matches
: Only show path of each file with matches.
Expand Down

0 comments on commit b5b5261

Please sign in to comment.