diff --git a/NEWS b/NEWS index 3afdf8f8..451fb266 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ 0.176.0 - - + - add --verbose option to build command 0.175.0 - do not crash when running "osc search --binary --verbose foo" diff --git a/osc/build.py b/osc/build.py index cad5261a..8aa3e0da 100644 --- a/osc/build.py +++ b/osc/build.py @@ -742,6 +742,8 @@ def main(apiurl, opts, argv): if opts.multibuild_package: buildargs.append('--buildflavor=%s' % opts.multibuild_package) pac = pac + ":" + opts.multibuild_package + if opts.verbose: + buildargs.append('--verbose=%s' % opts.verbose) if opts.wipe: buildargs.append("--wipe") diff --git a/osc/commandline.py b/osc/commandline.py index 1b6b9138..b0452e66 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -6541,6 +6541,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. help='only fetch packages from the api') @cmdln.option('--oldpackages', metavar='DIR', help='take previous build from DIR (special values: _self, _link)') + @cmdln.option('--verbose', metavar='VERBOSE', + help='set a verbose mode, arguments can be "all" or "vm"') @cmdln.option('--wipe', action='store_true', help=SUPPRESS_HELP) @cmdln.option('--shell', action='store_true',