summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-12-06 09:23:40 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-06 09:23:40 -0800
commit5b5710effa68e3901a44bb2e55485a4d8a89308f (patch)
tree227760eb1db987c1eeb5d4a181de0012208821ac
parentMerge branch 'rd/man-reflog-add-n' (diff)
parentnotes: correct 'git notes prune' options to '[-n] [-v]' (diff)
downloadtgif-5b5710effa68e3901a44bb2e55485a4d8a89308f.tar.xz
Merge branch 'rd/doc-notes-prune-fix'
Doc update. * rd/doc-notes-prune-fix: notes: correct 'git notes prune' options to '[-n] [-v]'
-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 43677297f3..e8dec1b3c8 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 a2a542f82b..1a2c7d92ad 100644
--- a/builtin/notes.c
+++ b/builtin/notes.c
@@ -33,7 +33,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
};