Browse Source

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>
maint
Robert P. J. Day 7 years ago committed by Junio C Hamano
parent
commit
e54b63359f
  1. 2
      Documentation/git-notes.txt
  2. 2
      builtin/notes.c

2
Documentation/git-notes.txt

@ -18,7 +18,7 @@ SYNOPSIS @@ -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



2
builtin/notes.c

@ -32,7 +32,7 @@ static const char * const git_notes_usage[] = { @@ -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
};

Loading…
Cancel
Save