From e54b63359f9df44850bd50010e097f40e8cf3952 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 21 Nov 2017 14:17:21 -0500 Subject: 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 --- Documentation/git-notes.txt | 2 +- builtin/notes.c | 2 +- 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] [...] -'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 }; -- cgit v1.2.3