diff options
| author | Shawn O. Pearce <sop@google.com> | 2009-04-18 11:33:32 -0700 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2009-04-18 11:33:32 -0700 |
| commit | 77bb4af241ddfeacfe463272d681f188f92f98b0 (patch) | |
| tree | 2bad36b41f003df3ac0277a8fcc3ea5662fa5c88 /subcmds/init.py | |
| parent | fd89b67f5c3ad94f050509e1421c73aff380c0a7 (diff) | |
| download | git-repo-77bb4af241ddfeacfe463272d681f188f92f98b0.tar.gz | |
Improve the help text for 'repo init'
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/init.py')
| -rw-r--r-- | subcmds/init.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 3a5c766e..90b76e8b 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
| @@ -35,9 +35,20 @@ The latest repo source code and manifest collection is downloaded | |||
| 35 | from the server and is installed in the .repo/ directory in the | 35 | from the server and is installed in the .repo/ directory in the |
| 36 | current working directory. | 36 | current working directory. |
| 37 | 37 | ||
| 38 | The optional <manifest> argument can be used to specify an alternate | 38 | The optional -b argument can be used to select the manifest branch |
| 39 | manifest to be used. If no manifest is specified, the manifest | 39 | to checkout and use. If no branch is specified, master is assumed. |
| 40 | default.xml will be used. | 40 | |
| 41 | The optional -m argument can be used to specify an alternate manifest | ||
| 42 | to be used. If no manifest is specified, the manifest default.xml | ||
| 43 | will be used. | ||
| 44 | |||
| 45 | Switching Manifest Branches | ||
| 46 | --------------------------- | ||
| 47 | |||
| 48 | To switch to another manifest branch, `repo init -b otherbranch` | ||
| 49 | may be used in an existing client. However, as this only updates the | ||
| 50 | manifest, a subsequent `repo sync` (or `repo sync -d`) is necessary | ||
| 51 | to update the working directory files. | ||
| 41 | """ | 52 | """ |
| 42 | 53 | ||
| 43 | def _Options(self, p): | 54 | def _Options(self, p): |
