* [PATCH] Updated the usage string of git reset
@ 2009-09-16 15:29 Jan Stępień
0 siblings, 0 replies; 2+ messages in thread
From: Jan Stępień @ 2009-09-16 15:29 UTC (permalink / raw)
To: git, gitster; +Cc: Jan Stępień
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Updated the usage string of git reset
@ 2010-03-31 9:24 Jan Stępień
0 siblings, 0 replies; 2+ messages in thread
From: Jan Stępień @ 2010-03-31 9:24 UTC (permalink / raw)
To: git; +Cc: Jan Stępień
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>
---
builtin/reset.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/builtin/reset.c b/builtin/reset.c
index 2c3a69a..1283068 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 | --keep] [-q] [<commit>]",
- "git reset [--mixed] <commit> [--] <paths>...",
+ "git reset [-q] <commit> [--] <paths>...",
+ "git reset --patch [<commit>] [--] [<paths>...]",
NULL
};
--
1.7.0.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-31 9:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 15:29 [PATCH] Updated the usage string of git reset Jan Stępień
-- strict thread matches above, loose matches on Subject: below --
2010-03-31 9:24 Jan Stępień
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).