Add two more usage example for gbs build
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 24 Oct 2012 05:31:15 +0000 (13:31 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Wed, 24 Oct 2012 05:31:15 +0000 (13:31 +0800)
Change-Id: I17f1a459e65a64b36c4bcc5addd32391e8c8ffe9

tools/gbs

index 1f9edfa..8821c97 100755 (executable)
--- a/tools/gbs
+++ b/tools/gbs
@@ -108,6 +108,13 @@ def build_parser(parser):
       $ gbs build -A i586 --threads=4 --binary-list=/path/to/pkgs.list
       $ cd package1/
       $ gbs build -A i586 --incremental # only support build one package
+
+      # Use repos specified from command line
+      $ gbs build -R http://user:passwd@example.org -R ... --skip-conf-repos
+      # Use repos specified from command line and gbs.conf
+      $ gbs build -R http://user:passwd@example.org -R ...
+
+
     """
 
     parser.add_argument('gitdir', nargs='?', type=os.path.abspath,