summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-27 22:04:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-06-29 23:35:29 (GMT)
commit534cea3fce7d32fc924fd477520fa2e631288ca6 (patch)
treeb9efabcd5eae4996d202f8b5ea92039ef08f3b83 /builtin/branch.c
parent99ac63b092f592b7181f94b6479f3a24dbfc8fdb (diff)
downloadgit-534cea3fce7d32fc924fd477520fa2e631288ca6.zip
git-534cea3fce7d32fc924fd477520fa2e631288ca6.tar.gz
git-534cea3fce7d32fc924fd477520fa2e631288ca6.tar.bz2
"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>
Diffstat (limited to 'builtin/branch.c')
-rw-r--r--builtin/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index 9cca1b9..63f4e69 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
};