notes: correct 'git notes prune' options to '[-n] [-v]'
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 21 Nov 2017 19:17:21 +0000 (14:17 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Nov 2017 03:59:02 +0000 (12:59 +0900)
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>
Documentation/git-notes.txt
builtin/notes.c
index be7db3048d4776200c6ed8781b25ffccb68a41eb..c04bdfaa3203e6e8428bb18444d6e97c0e451e3c 100644 (file)
@@ -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
 
 
index 5248a9bad8d4d18c8ff0f145e8049606baa8849a..af883d7400e2be919282135f4baa64829b2e01d5 100644 (file)
@@ -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
 };