threads / patch / 20972

patchUpdated the usage string of git reset

Subject: [PATCH] Updated the usage string of git reset

## tl;dr

One message between Sep 16, 2009 and Sep 16, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jan Stępień· Sep 16, 2009, 15:29 UTC · lore

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(-)
Show changes to builtin-reset.c +1 −1
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

← back to recent threads