Code

"branch -d" can remove more than one branches
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Jun 2011 22:04:32 +0000 (15:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Jun 2011 23:35:29 +0000 (16:35 -0700)
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>
builtin/branch.c

index 9cca1b9afc20caf6333d0269386249f41fa8746f..63f4e69925d4c6e7db88db26ce080f09e348c8e8 100644 (file)
@@ -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
 };