notes: correct 'git notes prune' options to '[-n] [-v]'
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>
Robert P. J. Day committed
Nov 21, 2017 at 14:17 UTC
e54b63359f9df44850bd50010e097f40e8cf3952
2 files changed
+2
-2
Documentation/git-notes.txt
+1
-1
@@ -18,7 +18,7 @@ SYNOPSIS
18
'git notes' merge --commit [-v | -q]
19
'git notes' merge --abort [-v | -q]
20
'git notes' remove [--ignore-missing] [--stdin] [<object>...]
21
-'git notes' prune [-n | -v]
21
+'git notes' prune [-n] [-v]
22
'git notes' get-ref
23
24
builtin/notes.c
+1
-1
@@ -32,7 +32,7 @@ static const char * const git_notes_usage[] = {
32
N_("git notes merge --commit [-v | -q]"),
33
N_("git notes merge --abort [-v | -q]"),
34
N_("git notes [--ref <notes-ref>] remove [<object>...]"),
35
- N_("git notes [--ref <notes-ref>] prune [-n | -v]"),
35
+ N_("git notes [--ref <notes-ref>] prune [-n] [-v]"),
36
N_("git notes [--ref <notes-ref>] get-ref"),
37
NULL
38
};