Permit options with --help/--version.

Fixes #47.
This commit is contained in:
Andrew Gallant 2016-09-24 21:13:24 -04:00
parent 4b5e789a2a
commit 423f2a1927
3 changed files with 6 additions and 6 deletions

View File

@ -16,9 +16,9 @@ rg [\f[I]options\f[]] \-\-files [\f[I]<\f[]path\f[I]> ...\f[]]
.PP .PP
rg [\f[I]options\f[]] \-\-type\-list rg [\f[I]options\f[]] \-\-type\-list
.PP .PP
rg \-\-help rg [\f[I]options\f[]] \-\-help
.PP .PP
rg \-\-version rg [\f[I]options\f[]] \-\-version
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
rg (ripgrep) combines the usability of The Silver Searcher (an ack rg (ripgrep) combines the usability of The Silver Searcher (an ack

View File

@ -12,9 +12,9 @@ rg [*options*] --files [*<*path*> ...*]
rg [*options*] --type-list rg [*options*] --type-list
rg --help rg [*options*] --help
rg --version rg [*options*] --version
# DESCRIPTION # DESCRIPTION

View File

@ -39,8 +39,8 @@ Usage: rg [options] -e PATTERN ... [<path> ...]
rg [options] <pattern> [<path> ...] rg [options] <pattern> [<path> ...]
rg [options] --files [<path> ...] rg [options] --files [<path> ...]
rg [options] --type-list rg [options] --type-list
rg --help rg [options] --help
rg --version rg [options] --version
rg recursively searches your current directory for a regex pattern. rg recursively searches your current directory for a regex pattern.