Skip to contentSkip to conversation

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

PATCH New Alexander Kuleshov 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clean: describe --dry-run option in a more clear way in the usage string

---
 builtin/clean.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/clean.c +1 -1
index 17a1c13..01aae96 100644
@@ -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,
Signature · 1 line
2.4.0.dirty