From: Mark Lodato Date: Fri, 26 Feb 2010 03:40:12 +0000 (-0500) Subject: grep docs: --cached and ... are incompatible X-Git-Tag: v1.7.0.3~24^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec2537beda63f78746f8b43a031120be0d32310e;p=git.git grep docs: --cached and ... are incompatible In the synopsis for git-grep(1), show that --cached and ... cannot be used together. Signed-off-by: Mark Lodato Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 2e161306e..37ce94305 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -9,8 +9,7 @@ git-grep - Print lines matching a pattern SYNOPSIS -------- [verse] -'git grep' [--cached] - [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp] +'git grep' [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp] [-v | --invert-match] [-h|-H] [--full-name] [-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings] [-n] @@ -21,7 +20,8 @@ SYNOPSIS [--color | --no-color] [-A ] [-B ] [-C ] [-f ] [-e] - [--and|--or|--not|(|)|-e ...] [...] + [--and|--or|--not|(|)|-e ...] + [--cached | ...] [--] [...] DESCRIPTION