summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2017-11-21 14:17:21 -0500
committerJunio C Hamano <gitster@pobox.com>2017-11-22 12:59:02 +0900
commite54b63359f9df44850bd50010e097f40e8cf3952 (patch)
tree31e42b70ceb75cccc360eeb0032315ffe4a995c3
parent9752ad0bb79f680bca48db7adc45338b298304b0 (diff)
downloadgit-rd/doc-notes-prune-fix.tar.gz
notes: correct 'git notes prune' options to '[-n] [-v]'rd/doc-notes-prune-fix
Currently, 'git notes prune' in man page and usage message incorrectly lists options as '[-n | -v]', rather than '[-n] [-v]'. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-notes.txt2
-rw-r--r--builtin/notes.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt
index be7db3048d..c04bdfaa32 100644
--- a/Documentation/git-notes.txt
+++ b/Documentation/git-notes.txt
@@ -18,7 +18,7 @@ SYNOPSIS
'git notes' merge --commit [-v | -q]
'git notes' merge --abort [-v | -q]
'git notes' remove [--ignore-missing] [--stdin] [<object>...]
-'git notes' prune [-n | -v]
+'git notes' prune [-n] [-v]
'git notes' get-ref
diff --git a/builtin/notes.c b/builtin/notes.c
index 5248a9bad8..af883d7400 100644
--- a/builtin/notes.c
+++ b/builtin/notes.c
@@ -32,7 +32,7 @@ static const char * const git_notes_usage[] = {
N_("git notes merge --commit [-v | -q]"),
N_("git notes merge --abort [-v | -q]"),
N_("git notes [--ref <notes-ref>] remove [<object>...]"),
- N_("git notes [--ref <notes-ref>] prune [-n | -v]"),
+ N_("git notes [--ref <notes-ref>] prune [-n] [-v]"),
N_("git notes [--ref <notes-ref>] get-ref"),
NULL
};