From: Mark Lodato Date: Fri, 26 Feb 2010 03:40:12 GMT Subject: [PATCH 3/4] grep docs: --cached and ... are incompatible Message-ID: <1267155613-22134-4-git-send-email-lodatom@gmail.com> In-Reply-To: <1267155613-22134-1-git-send-email-lodatom@gmail.com> In the synopsis for git-grep(1), show that --cached and ... cannot be used together. Signed-off-by: Mark Lodato --- One downside to this change is that having --cached makes it prominent, which is good since it's a very common option. However, I think accuracy is more important here. Documentation/git-grep.txt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 2e16130..37ce943 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 -- 1.7.0