diff options
| author | Conley Owens <cco3@android.com> | 2012-04-16 11:02:21 -0700 |
|---|---|---|
| committer | Shawn O. Pearce <sop@google.com> | 2012-04-23 12:50:00 -0700 |
| commit | d21720db313369f25b99b4d2f3f87c8be46513d9 (patch) | |
| tree | a73e659e8fd18c7e3fc67880a1a9be8c2a409c86 /repo | |
| parent | 971de8ea7b7e474a4d9253b6c9f47da3f1130973 (diff) | |
| download | git-repo-d21720db313369f25b99b4d2f3f87c8be46513d9.tar.gz | |
Add a --platform flag
Projects may optionally specify their platform
(eg, groups="platform-linux" in the manifest).
By default, repo will automatically detect the platform. However,
users may specify --platform=[auto|all|linux|darwin].
Change-Id: Ie678851fb2fec5b0938aede01f16c53138a16537
Diffstat (limited to 'repo')
| -rwxr-xr-x | repo | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -129,6 +129,11 @@ group.add_option('-g', '--groups', | |||
| 129 | dest='groups', default='default', | 129 | dest='groups', default='default', |
| 130 | help='restrict manifest projects to ones with a specified group', | 130 | help='restrict manifest projects to ones with a specified group', |
| 131 | metavar='GROUP') | 131 | metavar='GROUP') |
| 132 | group.add_option('-p', '--platform', | ||
| 133 | dest='platform', default="auto", | ||
| 134 | help='restrict manifest projects to ones with a specified' | ||
| 135 | 'platform group [auto|all|none|linux|darwin|...]', | ||
| 136 | metavar='PLATFORM') | ||
| 132 | 137 | ||
| 133 | 138 | ||
| 134 | # Tool | 139 | # Tool |
