diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-11-24 15:55:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-24 15:55:19 -0800 |
commit | 20f84c8f56519b49fa91bb6cef8f8978c2ab4e09 (patch) | |
tree | 506b6dc0c798465251dc065479158b045239a106 /builtin/remote.c | |
parent | Merge branch 'kb/maint-rebase-autosquash' (diff) | |
parent | verify-tag: document --verbose (diff) | |
download | tgif-20f84c8f56519b49fa91bb6cef8f8978c2ab4e09.tar.xz |
Merge branch 'rs/opt-help-text'
* rs/opt-help-text:
verify-tag: document --verbose
branch: improve --verbose description
archive: improve --verbose description
Describe various forms of "be quiet" using OPT__QUIET
add OPT__FORCE
add description parameter to OPT__QUIET
add description parameter to OPT__DRY_RUN
add description parameter to OPT__VERBOSE
Diffstat (limited to 'builtin/remote.c')
-rw-r--r-- | builtin/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/remote.c b/builtin/remote.c index 6a06282196..cb26080956 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -1200,7 +1200,7 @@ static int prune(int argc, const char **argv) { int dry_run = 0, result = 0; struct option options[] = { - OPT__DRY_RUN(&dry_run), + OPT__DRY_RUN(&dry_run, "dry run"), OPT_END() }; @@ -1512,7 +1512,7 @@ static int show_all(void) int cmd_remote(int argc, const char **argv, const char *prefix) { struct option options[] = { - OPT_BOOLEAN('v', "verbose", &verbose, "be verbose; must be placed before a subcommand"), + OPT__VERBOSE(&verbose, "be verbose; must be placed before a subcommand"), OPT_END() }; int result; |