summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>2019-11-19 16:48:52 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-20 13:01:53 +0900
commitd137b5075660d633ef93342974350f1d0657a54c (patch)
tree8ce51ecaad30ceaf59866709b372cc77002a7ac9 /builtin
parentpathspec: add new function to parse file (diff)
downloadtgif-d137b5075660d633ef93342974350f1d0657a54c.tar.xz
doc: reset: synchronize <pathspec> description
`git add` shows an example of good writing, follow it. Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/reset.c b/builtin/reset.c
index fdd572168b..9291c0fd72 100644
--- a/builtin/reset.c
+++ b/builtin/reset.c
@@ -30,8 +30,8 @@
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 --patch [<tree-ish>] [--] [<paths>...]"),
+ N_("git reset [-q] [<tree-ish>] [--] <pathspec>..."),
+ N_("git reset --patch [<tree-ish>] [--] [<pathspec>...]"),
NULL
};