Skip to content

Commit 534cea3

Browse files
committed
"branch -d" can remove more than one branches
Since 03feddd (git-check-ref-format: reject funny ref names, 2005-10-13), "git branch -d" can take more than one branch names to remove. The documentation was correct, but the usage string was not. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 99ac63b commit 534cea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/branch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
static const char * const builtin_branch_usage[] = {
2020
"git branch [options] [-r | -a] [--merged | --no-merged]",
2121
"git branch [options] [-l] [-f] <branchname> [<start-point>]",
22-
"git branch [options] [-r] (-d | -D) <branchname>",
22+
"git branch [options] [-r] (-d | -D) <branchname>...",
2323
"git branch [options] (-m | -M) [<oldbranch>] <newbranch>",
2424
NULL
2525
};

0 commit comments

Comments
 (0)