Documentation/grep: fix documentation of -O
Since the argument of -O, --open-file-in-pager is optional, it must be stuck to the command. Reflect this in the documentation. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
340f2c5e63
commit
318ca61531
|
|
@ -160,8 +160,8 @@ OPTIONS
|
||||||
For better compatibility with 'git diff', `--name-only` is a
|
For better compatibility with 'git diff', `--name-only` is a
|
||||||
synonym for `--files-with-matches`.
|
synonym for `--files-with-matches`.
|
||||||
|
|
||||||
-O [<pager>]::
|
-O[<pager>]::
|
||||||
--open-files-in-pager [<pager>]::
|
--open-files-in-pager[=<pager>]::
|
||||||
Open the matching files in the pager (not the output of 'grep').
|
Open the matching files in the pager (not the output of 'grep').
|
||||||
If the pager happens to be "less" or "vi", and the user
|
If the pager happens to be "less" or "vi", and the user
|
||||||
specified only one pattern, the first file is positioned at
|
specified only one pattern, the first file is positioned at
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue