summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-27 15:04:32 -0700
committerJunio C Hamano <gitster@pobox.com>2011-06-29 16:35:29 -0700
commit534cea3fce7d32fc924fd477520fa2e631288ca6 (patch)
treeb9efabcd5eae4996d202f8b5ea92039ef08f3b83 /builtin
parent99ac63b092f592b7181f94b6479f3a24dbfc8fdb (diff)
downloadgit-534cea3fce7d32fc924fd477520fa2e631288ca6.tar.gz
"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')
-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
};