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

[PATCH] Updated the usage string of git reset

From
Jan Stępień <jan@stepien.cc>
Date
Sep 16, 2009, 15:29 UTC
Message-ID
<1253114981-31143-1-git-send-email-jan@stepien.cc>

Now the usage string reflects the behaviour of git reset and contents of the man page.

Signed-off-by: Jan Stępień <jan@stepien.cc>
---
 builtin-reset.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-reset.c b/builtin-reset.c
index 73e6022..78103ab 100644
--- a/builtin-reset.c
+++ b/builtin-reset.c
@@ -21,7 +21,7 @@
 
 static const char * const git_reset_usage[] = {
 	"git reset [--mixed | --soft | --hard | --merge] [-q] [<commit>]",
-	"git reset [--mixed] <commit> [--] <paths>...",
+	"git reset [-q] <commit> [--] <paths>...",
 	NULL
 };
 
-- 
1.6.4.3
Message 1 of 1 in “Updated the usage string of git reset”
  1. Updated the usage string of git resetJan Stępień, Sep 16, 2009

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.