Skip to content

Commit e54b633

Browse files
robertpjdaygitster
authored andcommitted
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 <[email protected]> Reviewed-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9752ad0 commit e54b633

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SYNOPSIS
1818
'git notes' merge --commit [-v | -q]
1919
'git notes' merge --abort [-v | -q]
2020
'git notes' remove [--ignore-missing] [--stdin] [<object>...]
21-
'git notes' prune [-n | -v]
21+
'git notes' prune [-n] [-v]
2222
'git notes' get-ref
2323

2424

builtin/notes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static const char * const git_notes_usage[] = {
3232
N_("git notes merge --commit [-v | -q]"),
3333
N_("git notes merge --abort [-v | -q]"),
3434
N_("git notes [--ref <notes-ref>] remove [<object>...]"),
35-
N_("git notes [--ref <notes-ref>] prune [-n | -v]"),
35+
N_("git notes [--ref <notes-ref>] prune [-n] [-v]"),
3636
N_("git notes [--ref <notes-ref>] get-ref"),
3737
NULL
3838
};

0 commit comments

Comments
 (0)