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>
This commit is contained in:
Jonathan Nieder
2010-11-08 13:54:48 -06:00
committed by Junio C Hamano
parent 76946b76fe
commit 8c83968385
10 changed files with 14 additions and 11 deletions

View File

@ -30,7 +30,8 @@ int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
int quiet = 0;
const char *msg = NULL;
struct option options[] = {
OPT__QUIET(&quiet, "be quiet"),
OPT__QUIET(&quiet,
"suppress error message for non-symbolic (detached) refs"),
OPT_STRING('m', NULL, &msg, "reason", "reason of the update"),
OPT_END(),
};