@matheusbsbs / matheus-bagliano / commits / e4762865c8
Fork 0

Updated the usage string of git reset

Make git reset usage string reflect the command's behaviour and contents of the man page. Signed-off-by: Jan Stępień <jstepien@users.sourceforge.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jan Stępień committed Mar 31, 2010 at 11:24 UTC e4762865c88050745a20a62c64b4ffa542e88c3a
1 file changed +2 -1
builtin-reset.c
+2 -1
@@ -23,7 +23,8 @@
23
24 static const char * const git_reset_usage[] = {
25 "git reset [--mixed | --soft | --hard | --merge] [-q] [<commit>]",
26 - "git reset [--mixed] <commit> [--] <paths>...",
26 + "git reset [-q] <commit> [--] <paths>...",
27 + "git reset --patch [<commit>] [--] [<paths>...]",
28 NULL
29 };
30