Use uppercase for required argument names
This reverts a couple of changes introduced in 4c78ca8 and keeps the
`PATTERN` argument consistently uppercased, so error messages can look
like:
error: The following required arguments were not provided:
<PATTERN>
This commit is contained in:
committed by
Andrew Gallant
parent
2628c8f38e
commit
13235b596f
2
doc/rg.1
2
doc/rg.1
@@ -9,7 +9,7 @@ rg \- recursively search current directory for lines matching a pattern
|
||||
.PP
|
||||
rg [\f[I]options\f[]] \f[I]PATTERN\f[] [\f[I]path\f[] ...]
|
||||
.PP
|
||||
rg [\f[I]options\f[]] [\-e \f[I]pattern\f[] ...] [\-f \f[I]file\f[] ...]
|
||||
rg [\f[I]options\f[]] [\-e \f[I]PATTERN\f[] ...] [\-f \f[I]FILE\f[] ...]
|
||||
[\f[I]path\f[] ...]
|
||||
.PP
|
||||
rg [\f[I]options\f[]] \-\-files [\f[I]path\f[] ...]
|
||||
|
||||
@@ -6,7 +6,7 @@ rg - recursively search current directory for lines matching a pattern
|
||||
|
||||
rg [*options*] *PATTERN* [*path* ...]
|
||||
|
||||
rg [*options*] [-e *pattern* ...] [-f *file* ...] [*path* ...]
|
||||
rg [*options*] [-e *PATTERN* ...] [-f *FILE* ...] [*path* ...]
|
||||
|
||||
rg [*options*] --files [*path* ...]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user