[PATCH 2/3] Documentation/grep: fix documentation of -O
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Sep 18, 2015, 15:01 UTC
- Message-ID
- <1442588510-7379-3-git-send-email-Matthieu.Moy@imag.fr>
- In-Reply-To
- <1442588510-7379-1-git-send-email-Matthieu.Moy@imag.fr>
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> --- Documentation/git-grep.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 31811f1..1c07c7f 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 [<pager>]:: ---open-files-in-pager [<pager>]:: +-O[<pager>]:: +--open-files-in-pager[=<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
-- 2.5.0.402.g8854c44