diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2010-11-08 19:06:54 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-15 09:58:13 -0800 |
commit | d52ee6e6131f65bb4360743ebea2e7b400b544e4 (patch) | |
tree | e91aa57d99acb554c2fd7e48e70a886e2fd216a4 /parse-options.h | |
parent | add description parameter to OPT__DRY_RUN (diff) | |
download | tgif-d52ee6e6131f65bb4360743ebea2e7b400b544e4.tar.xz |
add description parameter to OPT__QUIET
Allows better help text to be defined than "be quiet". Also make use
of the macro in a place that already had a different description. No
object code changes intended.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.h')
-rw-r--r-- | parse-options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-options.h b/parse-options.h index 69ce094158..3dd3a94f22 100644 --- a/parse-options.h +++ b/parse-options.h @@ -199,7 +199,7 @@ extern int parse_opt_with_commit(const struct option *, const char *, int); extern int parse_opt_tertiary(const struct option *, const char *, int); #define OPT__VERBOSE(var, h) OPT_BOOLEAN('v', "verbose", (var), (h)) -#define OPT__QUIET(var) OPT_BOOLEAN('q', "quiet", (var), "be quiet") +#define OPT__QUIET(var, h) OPT_BOOLEAN('q', "quiet", (var), (h)) #define OPT__VERBOSITY(var) \ { OPTION_CALLBACK, 'v', "verbose", (var), NULL, "be more verbose", \ PARSE_OPT_NOARG, &parse_opt_verbosity_cb, 0 }, \ |