git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
May 4, 2015, 12:36 UTC
Message-ID
<1430743004-30721-1-git-send-email-kuleshovmail@gmail.com>
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 builtin/clean.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
Message 1 of 1 in “clean: describe --dry-run option in a more clear way in the usage string”
  1. clean: describe --dry-run option in a more clear way in the usage stringAlexander Kuleshov, May 4, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.