Updated the usage string of git reset
PATCH 1/1 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ń <[email protected]>
--- builtin/reset.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
builtin/reset.c +2 -1
@@ -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 };
Signature · 1 line
1.7.0.3