diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-11 18:09:03 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-11 12:27:39 -0700 |
commit | 641c900b2c3a8c3d385eb353b3801a5f49ddbb47 (patch) | |
tree | 330cf570d6de9a434363d99802ef3d3caf3d0519 /builtin | |
parent | 0b65a8dbdb38962e700ee16776a3042beb489060 (diff) | |
download | git-641c900b2c3a8c3d385eb353b3801a5f49ddbb47.tar.gz git-641c900b2c3a8c3d385eb353b3801a5f49ddbb47.tar.xz |
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>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/reset.c b/builtin/reset.c index 092c3a539..fdf47285c 100644 --- a/builtin/reset.c +++ b/builtin/reset.c @@ -24,7 +24,7 @@ static const char * const git_reset_usage[] = { N_("git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]"), - N_("git reset [-q] <tree-ish> [--] <paths>..."), + N_("git reset [-q] [<tree-ish>] [--] <paths>..."), N_("git reset --patch [<tree-ish>] [--] [<paths>...]"), NULL }; |