Skip to content

Commit

Permalink
Updated the usage string of git reset
Browse files Browse the repository at this point in the history
Make git reset usage string reflect the command's behaviour and contents of
the man page.

Signed-off-by: Jan Stępień <jstepien@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jan Stępień authored and Junio C Hamano committed Mar 31, 2010
1 parent 09f53b1 commit e476286
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin-reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

static const char * const git_reset_usage[] = {
"git reset [--mixed | --soft | --hard | --merge] [-q] [<commit>]",
"git reset [--mixed] <commit> [--] <paths>...",
"git reset [-q] <commit> [--] <paths>...",
"git reset --patch [<commit>] [--] [<paths>...]",
NULL
};

Expand Down

0 comments on commit e476286

Please sign in to comment.