summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-06-27 15:04:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-29 16:35:29 -0700
commit534cea3fce7d32fc924fd477520fa2e631288ca6 (patch)
treeb9efabcd5eae4996d202f8b5ea92039ef08f3b83
parentMerge branch 'maint-1.7.4' into maint (diff)
downloadtgif-534cea3fce7d32fc924fd477520fa2e631288ca6.tar.xz
"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 <gitster@pobox.com>
-rw-r--r--builtin/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index 9cca1b9afc..63f4e69925 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -19,7 +19,7 @@
static const char * const builtin_branch_usage[] = {
"git branch [options] [-r | -a] [--merged | --no-merged]",
"git branch [options] [-l] [-f] <branchname> [<start-point>]",
- "git branch [options] [-r] (-d | -D) <branchname>",
+ "git branch [options] [-r] (-d | -D) <branchname>...",
"git branch [options] (-m | -M) [<oldbranch>] <newbranch>",
NULL
};