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/clean.c | |
parent | cbcf0a6981687b31635d806f45e77188c54b7cfc (diff) | |
parent | 6e565345e87cf9b8da093e11492fe3a025007230 (diff) | |
download | git-20f84c8f56519b49fa91bb6cef8f8978c2ab4e09.tar.gz |
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/clean.c')
-rw-r--r-- | builtin/clean.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/clean.c b/builtin/clean.c index fb24030751..4a312abc6b 100644 --- a/builtin/clean.c +++ b/builtin/clean.c @@ -48,9 +48,9 @@ int cmd_clean(int argc, const char **argv, const char *prefix) const char *qname; char *seen = NULL; struct option options[] = { - OPT__QUIET(&quiet), - OPT__DRY_RUN(&show_only), - OPT_BOOLEAN('f', "force", &force, "force"), + OPT__QUIET(&quiet, "do not print names of files removed"), + OPT__DRY_RUN(&show_only, "dry run"), + OPT__FORCE(&force, "force"), OPT_BOOLEAN('d', NULL, &remove_directories, "remove whole directories"), { OPTION_CALLBACK, 'e', "exclude", &exclude_list, "pattern", |