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 /Documentation/technical | |
parent | e21adb8c100cd2859cff1d74f7d0e622ac640085 (diff) | |
download | git-d52ee6e6131f65bb4360743ebea2e7b400b544e4.tar.gz git-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 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-parse-options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt index 00c447c74..248a66dff 100644 --- a/Documentation/technical/api-parse-options.txt +++ b/Documentation/technical/api-parse-options.txt @@ -121,7 +121,7 @@ There are some macros to easily define options: `OPT__DRY_RUN(&int_var, description)`:: Add `-n, \--dry-run`. -`OPT__QUIET(&int_var)`:: +`OPT__QUIET(&int_var, description)`:: Add `-q, \--quiet`. `OPT__VERBOSE(&int_var, description)`:: |