From: Robert P. J. Day Date: Tue, 21 Nov 2017 19:17:21 +0000 (-0500) Subject: notes: correct 'git notes prune' options to '[-n] [-v]' X-Git-Tag: v2.16.0-rc0~74^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e54b63359f9df44850bd50010e097f40e8cf3952;p=git 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 Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- 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] [...] -'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 ] remove [...]"), - N_("git notes [--ref ] prune [-n | -v]"), + N_("git notes [--ref ] prune [-n] [-v]"), N_("git notes [--ref ] get-ref"), NULL };