Add missing --no-patch-export options for remotebuild
authorZhang Qiang <qiang.z.zhang@intel.com>
Fri, 18 Jan 2013 16:05:35 +0000 (11:05 -0500)
committerZhang Qiang <qiang.z.zhang@intel.com>
Fri, 18 Jan 2013 23:00:12 +0000 (18:00 -0500)
Change-Id: I9730b05c0de08e06b27e9c1b22408a8f72230e07

tools/gbs

index 6287107170b1dc9191d65cbbf77b7964ffbd4f35..e57bee864c3bcf0a96cdf3e3c06e56f0adbb827d 100755 (executable)
--- a/tools/gbs
+++ b/tools/gbs
@@ -275,6 +275,10 @@ def remotebuild_parser(parser):
                         help='specify a spec file to use. It should be a file '
                         'name that GBS will find it in packaging dir')
     parser.add_argument('-c', '--commit', help='specify a commit ID to build')
+    parser.add_argument('--no-patch-export', action='store_true',
+                        help='don\'t create patches between upstream and '
+                        'export-treeish, and create tar ball from the '
+                        'export-treeish instead of upstream branch')
     parser.add_argument('--buildlog', action='store_true',
                         help='get buildlog from build sever')
     parser.add_argument('--status', action='store_true',