diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-18 11:19:01 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-18 11:19:01 -0700 |
commit | 06e556d202cc6944227667a0664ec7b8eca32076 (patch) | |
tree | ed28ad5e1559c54dae8fee3d31cda664ac3b9107 | |
parent | 8225cdc56b9763ef4c000fe72db3e6ae68fc3736 (diff) | |
download | git-repo-06e556d202cc6944227667a0664ec7b8eca32076.tar.gz |
Improve the help text for 'repo start'
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | subcmds/start.py | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/subcmds/start.py b/subcmds/start.py index deced7c2..d30949f7 100644 --- a/subcmds/start.py +++ b/subcmds/start.py | |||
@@ -22,20 +22,10 @@ class Start(Command): | |||
22 | helpSummary = "Start a new branch for development" | 22 | helpSummary = "Start a new branch for development" |
23 | helpUsage = """ | 23 | helpUsage = """ |
24 | %prog <newbranchname> [<project>...] | 24 | %prog <newbranchname> [<project>...] |
25 | 25 | """ | |
26 | This subcommand starts a new branch of development that is automatically | 26 | helpDescription = """ |
27 | pulled from a remote branch. | 27 | '%prog' begins a new branch of development, starting from the |
28 | 28 | revision specified in the manifest. | |
29 | It is equivalent to the following git commands: | ||
30 | |||
31 | "git branch --track <newbranchname> m/<codeline>", | ||
32 | or | ||
33 | "git checkout --track -b <newbranchname> m/<codeline>". | ||
34 | |||
35 | All three forms set up the config entries that repo bases some of its | ||
36 | processing on. Use %prog or git branch or checkout with --track to ensure | ||
37 | the configuration data is set up properly. | ||
38 | |||
39 | """ | 29 | """ |
40 | 30 | ||
41 | def Execute(self, opt, args): | 31 | def Execute(self, opt, args): |