From d21720db313369f25b99b4d2f3f87c8be46513d9 Mon Sep 17 00:00:00 2001 From: Conley Owens Date: Mon, 16 Apr 2012 11:02:21 -0700 Subject: 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 --- repo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'repo') diff --git a/repo b/repo index 0aabc0d8..860a15d5 100755 --- a/repo +++ b/repo @@ -129,6 +129,11 @@ group.add_option('-g', '--groups', dest='groups', default='default', help='restrict manifest projects to ones with a specified group', metavar='GROUP') +group.add_option('-p', '--platform', + dest='platform', default="auto", + help='restrict manifest projects to ones with a specified' + 'platform group [auto|all|none|linux|darwin|...]', + metavar='PLATFORM') # Tool -- cgit v1.2.3-54-g00ecf