DORMANTno replies

[PATCH] Updated the usage string of git reset

From: Jan Stępień <hidden>
Date: 2016-06-15 22:47:25
Subsystem: the rest · Maintainer: Linus Torvalds

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

Signed-off-by: Jan Stępień <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help