Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Stępień <jstepien@users.sourceforge.net>2010-03-31 13:24:19 +0400
committerJunio C Hamano <gitster@pobox.com>2010-03-31 19:15:02 +0400
commite4762865c88050745a20a62c64b4ffa542e88c3a (patch)
tree5f6a897e7b6757780d146fbe5dc00e1ffe58c8cb
parent09f53b16bc65e14b116a275b3c569b2aa8040ad8 (diff)
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>
-rw-r--r--builtin-reset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-reset.c b/builtin-reset.c
index 0f5022eed2..a174a31610 100644
--- a/builtin-reset.c
+++ b/builtin-reset.c
@@ -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
};