diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-13 12:11:31 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-13 12:11:31 -0700 |
commit | d33f43a75472cb5104e444c50b880ac3ab2de603 (patch) | |
tree | 5095c306a520a0af4685ba8454a2d4a206be8ef3 /subcmds/checkout.py | |
parent | e756c412e35b9ac1a126985d4d047dbd52f29277 (diff) | |
download | git-repo-d33f43a75472cb5104e444c50b880ac3ab2de603.tar.gz |
Cleanup checkout help to match other commands
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/checkout.py')
-rw-r--r-- | subcmds/checkout.py | 10 |
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 = """ | ||
26 | The '%prog' command checks out an existing branch that was previously | ||
27 | created by 'repo start'. | ||
24 | 28 | ||
25 | This subcommand checks out an existing branch and | 29 | The command is equivalent to: |
26 | is equivalent to the following git command run on | ||
27 | every 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): |