summaryrefslogtreecommitdiff
path: root/builtin/rm.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2010-11-08 18:06:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-15 17:58:13 (GMT)
commitd52ee6e6131f65bb4360743ebea2e7b400b544e4 (patch)
treee91aa57d99acb554c2fd7e48e70a886e2fd216a4 /builtin/rm.c
parente21adb8c100cd2859cff1d74f7d0e622ac640085 (diff)
downloadgit-d52ee6e6131f65bb4360743ebea2e7b400b544e4.zip
git-d52ee6e6131f65bb4360743ebea2e7b400b544e4.tar.gz
git-d52ee6e6131f65bb4360743ebea2e7b400b544e4.tar.bz2
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 'builtin/rm.c')
-rw-r--r--builtin/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rm.c b/builtin/rm.c
index 26b7412..49461b6 100644
--- a/builtin/rm.c
+++ b/builtin/rm.c
@@ -140,7 +140,7 @@ static int ignore_unmatch = 0;
static struct option builtin_rm_options[] = {
OPT__DRY_RUN(&show_only, "dry run"),
- OPT__QUIET(&quiet),
+ OPT__QUIET(&quiet, "be quiet"),
OPT_BOOLEAN( 0 , "cached", &index_only, "only remove from the index"),
OPT_BOOLEAN('f', "force", &force, "override the up-to-date check"),
OPT_BOOLEAN('r', NULL, &recursive, "allow recursive removal"),