reset: fix usage
The <tree-ish> parameter is actually optional (see man page). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Oct 11, 2016 at 18:09 UTC
641c900b2c3a8c3d385eb353b3801a5f49ddbb47
1 file changed
+1
-1
builtin/reset.c
+1
-1
@@ -24,7 +24,7 @@
24
25
static const char * const git_reset_usage[] = {
26
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>..."),
28
N_("git reset --patch [<tree-ish>] [--] [<paths>...]"),
29
NULL
30
};