Skip to content

Commit e476286

Browse files
jstepiengitster
authored andcommitted
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]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 09f53b1 commit e476286

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin-reset.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323

2424
static const char * const git_reset_usage[] = {
2525
"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>...]",
2728
NULL
2829
};
2930

0 commit comments

Comments
 (0)