Skip to content

Commit 9d44cca

Browse files
committed
reset: fix usage
The <tree-ish> parameter is actually optional (see man page). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6406bdc commit 9d44cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/reset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
static const char * const git_reset_usage[] = {
2626
N_("git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]"),
27-
N_("git reset [-q] <tree-ish> [--] <paths>..."),
27+
N_("git reset [-q] [<tree-ish>] [--] <paths>..."),
2828
N_("git reset --patch [<tree-ish>] [--] [<paths>...]"),
2929
NULL
3030
};

0 commit comments

Comments
 (0)