diff --git a/doc/rg.1 b/doc/rg.1 index d89d7d930..f75956716 100644 --- a/doc/rg.1 +++ b/doc/rg.1 @@ -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]\[aq] \-\-files .RE .TP .B \-h, \-\-help @@ -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]\[aq] \-\-files .RE .TP .B \-l, \-\-files\-with\-matches diff --git a/doc/rg.1.md b/doc/rg.1.md index 295778c96..3dc1a4435 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -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 '' --files + For example: rg -g '\' --files -h, --help : Show this usage message. @@ -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 '' --files + rg -g '\' --files -l, --files-with-matches : Only show path of each file with matches.