aboutsummaryrefslogtreecommitdiff
path: root/builtin/show-ref.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-08 13:54:48 -0600
committerJunio C Hamano <gitster@pobox.com>2010-11-15 10:04:56 -0800
commit8c83968385e1e742e188435fd2fe5ebf57565e49 (patch)
tree128fbce77c06fd198b323bdf6721e321abcab02f /builtin/show-ref.c
parent76946b76fe3d26507d61cae97aa0676fad24ed92 (diff)
downloadgit-8c83968385e1e742e188435fd2fe5ebf57565e49.tar.gz
git-8c83968385e1e742e188435fd2fe5ebf57565e49.tar.xz
Describe various forms of "be quiet" using OPT__QUIET
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/show-ref.c')
-rw-r--r--builtin/show-ref.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/show-ref.c b/builtin/show-ref.c
index 6507f03d3..45f0340c3 100644
--- a/builtin/show-ref.c
+++ b/builtin/show-ref.c
@@ -193,7 +193,8 @@ static const struct option show_ref_options[] = {
"only show SHA1 hash using <n> digits",
PARSE_OPT_OPTARG, &hash_callback },
OPT__ABBREV(&abbrev),
- OPT__QUIET(&quiet, "be quiet"),
+ OPT__QUIET(&quiet,
+ "do not print results to stdout (useful with --verify)"),
{ OPTION_CALLBACK, 0, "exclude-existing", &exclude_existing_arg,
"pattern", "show refs from stdin that aren't in local repository",
PARSE_OPT_OPTARG | PARSE_OPT_NONEG, exclude_existing_callback },