Code

Updated the usage string of git reset
authorJan Stępień <jstepien@users.sourceforge.net>
Wed, 31 Mar 2010 09:24:19 +0000 (11:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Mar 2010 15:15:02 +0000 (08:15 -0700)
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>
builtin-reset.c

index 0f5022eed24f980f6fedee49f8602fefa6fe85e4..a174a316102c6ed40b4cef24d7812220f6ac5d89 100644 (file)
@@ -23,7 +23,8 @@
 
 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>...",
+       "git reset --patch [<commit>] [--] [<paths>...]",
        NULL
 };