summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-13 12:11:31 -0700
committerShawn O. Pearce <sop@google.com>2009-04-13 12:11:31 -0700
commitd33f43a75472cb5104e444c50b880ac3ab2de603 (patch)
tree5095c306a520a0af4685ba8454a2d4a206be8ef3 /subcmds
parente756c412e35b9ac1a126985d4d047dbd52f29277 (diff)
downloadgit-repo-d33f43a75472cb5104e444c50b880ac3ab2de603.tar.gz
Cleanup checkout help to match other commands
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/checkout.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/subcmds/checkout.py b/subcmds/checkout.py
index 7ce9d341..07644c95 100644
--- a/subcmds/checkout.py
+++ b/subcmds/checkout.py
@@ -21,12 +21,14 @@ class Checkout(Command):
21 helpSummary = "Checkout a branch for development" 21 helpSummary = "Checkout a branch for development"
22 helpUsage = """ 22 helpUsage = """
23%prog <branchname> [<project>...] 23%prog <branchname> [<project>...]
24"""
25 helpDescription = """
26The '%prog' command checks out an existing branch that was previously
27created by 'repo start'.
24 28
25This subcommand checks out an existing branch and 29The command is equivalent to:
26is equivalent to the following git command run on
27every project or the list of specified projects:
28 30
29"git checkout <branchname>" 31 repo forall [<project>...] -c git checkout <branchname>
30""" 32"""
31 33
32 def Execute(self, opt, args): 34 def Execute(self, opt, args):