diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-28 12:33:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-28 12:33:42 -0800 |
commit | 4ff61c21de519b4b3c9569b354fa5a3905b69c6a (patch) | |
tree | 1b0829332583d5d39eeaaee2a1b566edc3504df1 /Documentation | |
parent | 12a258c078da3481a5735a7dca00bbe75cd4713b (diff) | |
download | git-4ff61c21de519b4b3c9569b354fa5a3905b69c6a.tar.gz git-4ff61c21de519b4b3c9569b354fa5a3905b69c6a.tar.xz |
grep --quiet: finishing touches
Name the option "--quiet" not "--quick", document it, and add tests.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-grep.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index abb6735a4..e019e760b 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -16,7 +16,7 @@ SYNOPSIS [-F | --fixed-strings] [-n] [-l | --files-with-matches] [-L | --files-without-match] [-z | --null] - [-c | --count] [--all-match] + [-c | --count] [--all-match] [-q | --quiet] [--max-depth <depth>] [--color | --no-color] [-A <post-context>] [-B <pre-context>] [-C <context>] @@ -158,6 +158,11 @@ OPTIONS this flag is specified to limit the match to files that have lines to match all of them. +-q:: +--quiet:: + Do not output matched lines; instead, exit with status 0 when + there is a match and with non-zero status when there isn't. + `<tree>...`:: Search blobs in the trees for specified patterns. |