From: Matthieu Moy Date: Sat, 19 Sep 2015 07:47:49 +0000 (+0200) Subject: Documentation/grep: fix documentation of -O X-Git-Tag: v2.6.2~21^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=318ca61531d3189aef7b32a924518db1dd9f3374;p=git 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 Reviewed-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 31811f16bd..1c07c7fe9a 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -160,8 +160,8 @@ OPTIONS For better compatibility with 'git diff', `--name-only` is a synonym for `--files-with-matches`. --O []:: ---open-files-in-pager []:: +-O[]:: +--open-files-in-pager[=]:: Open the matching files in the pager (not the output of 'grep'). If the pager happens to be "less" or "vi", and the user specified only one pattern, the first file is positioned at