Cleanup checkout help to match other commands

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2009-04-13 12:11:31 -07:00
parent e756c412e3
commit d33f43a754

View File

@ -21,12 +21,14 @@ class Checkout(Command):
helpSummary = "Checkout a branch for development" helpSummary = "Checkout a branch for development"
helpUsage = """ helpUsage = """
%prog <branchname> [<project>...] %prog <branchname> [<project>...]
"""
helpDescription = """
The '%prog' command checks out an existing branch that was previously
created by 'repo start'.
This subcommand checks out an existing branch and The command is equivalent to:
is equivalent to the following git command run on
every project or the list of specified projects:
"git checkout <branchname>" repo forall [<project>...] -c git checkout <branchname>
""" """
def Execute(self, opt, args): def Execute(self, opt, args):