X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/117ed129a470c5cdae3addb43ff6f2d04f3e5409..baf8241d1b7835ba31125d2b75683601ee2b0403:/stgit/commands/branch.py diff --git a/stgit/commands/branch.py b/stgit/commands/branch.py index ef71547..3d912fc 100644 --- a/stgit/commands/branch.py +++ b/stgit/commands/branch.py @@ -20,7 +20,7 @@ from stgit.argparse import opt from stgit.commands.common import * from stgit.utils import * from stgit.out import * -from stgit import stack, git, basedir +from stgit import argparse, stack, git, basedir from stgit.lib import log help = 'Branch operations: switch, list, create, rename, delete, ...' @@ -45,6 +45,7 @@ within a git repository. 'stg branch' :: Switch to the given branch.""" +args = [argparse.all_branches] options = [ opt('-l', '--list', action = 'store_true', short = 'List the branches contained in this repository', long = """