threads / patch / 39238

patchclean: describe --dry-run option in a more clear way in the usage string

Subject: [PATCH] clean: describe --dry-run option in a more clear way in the usage string

## tl;dr

One message between May 4, 2015 and May 4, 2015. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alexander Kuleshov· May 4, 2015, 12:36 UTC · lore
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 builtin/clean.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/clean.c +1 −1
diff --git a/builtin/clean.c b/builtin/clean.c
index 17a1c13..01aae96 100644
--- a/builtin/clean.c
+++ b/builtin/clean.c
@@ -891,7 +891,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
 	const char *qname;
 	struct option options[] = {
 		OPT__QUIET(&quiet, N_("do not print names of files removed")),
-		OPT__DRY_RUN(&dry_run, N_("dry run")),
+		OPT__DRY_RUN(&dry_run, N_("do not remove anything, only show what would be removed")),
 		OPT__FORCE(&force, N_("force")),
 		OPT_BOOL('i', "interactive", &interactive, N_("interactive cleaning")),
 		OPT_BOOL('d', NULL, &remove_directories,
-- 
2.4.0.dirty

← back to recent threads