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>
Matthieu Moy committed
Sep 19, 2015 at 09:47 UTC
318ca61531d3189aef7b32a924518db1dd9f3374
1 file changed
+2
-2
Documentation/git-grep.txt
+2
-2
@@ -160,8 +160,8 @@ OPTIONS
160
For better compatibility with 'git diff', `--name-only` is a
161
synonym for `--files-with-matches`.
162
163
--O [<pager>]::
164
---open-files-in-pager [<pager>]::
163
+-O[<pager>]::
164
+--open-files-in-pager[=<pager>]::
165
Open the matching files in the pager (not the output of 'grep').
166
If the pager happens to be "less" or "vi", and the user
167
specified only one pattern, the first file is positioned at