1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 01:06:17 +02:00

Bring 'osc build --verbose' back as --verbose-mode=MODE to avoid conflicts with global --verbose

This commit is contained in:
Daniel Mach 2022-09-30 09:20:14 +02:00
parent f7af6329b5
commit 69af8b59a5
2 changed files with 4 additions and 2 deletions

View File

@ -762,8 +762,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.verbose_mode:
buildargs.append('--verbose=%s' % opts.verbose_mode)
if opts.wipe:
buildargs.append("--wipe")

View File

@ -6348,6 +6348,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-mode', metavar='MODE',
help='set verbose mode of the "build" program, arguments can be "all" or "vm"')
@cmdln.option('--wipe', action='store_true',
help=SUPPRESS_HELP)
@cmdln.option('--shell', action='store_true',