1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-24 03:02:12 +01:00

Fix multibuild packages in osc buildlog

This commit is contained in:
Daniel Mach 2022-05-10 10:44:33 +02:00
parent 502bff50ff
commit 26ad5aa35c

View File

@ -67,6 +67,8 @@ HELP_MULTIBUILD_MANY = """Only work with the specified flavors of a multibuild p
Globs are resolved according to _multibuild file from server.
Empty string is resolved to a package without a flavor."""
HELP_MULTIBUILD_ONE = "Only work with the specified flavor of a multibuild package."
class Osc(cmdln.Cmdln):
"""Usage: osc [GLOBALOPTS] SUBCOMMAND [OPTS] [ARGS...]
@ -5664,8 +5666,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='Show the last finished log file')
@cmdln.option('--lastsucceeded', '--last-succeeded', action='store_true',
help='Show the last succeeded log file')
@cmdln.option('-M', '--multibuild-package', metavar='MPAC',
help='get log of the specified multibuild package')
@cmdln.option('-M', '--multibuild-package', metavar='FLAVOR',
help=HELP_MULTIBUILD_ONE)
@cmdln.option('-o', '--offset', metavar='OFFSET',
help='get log start or end from the offset')
@cmdln.option('-s', '--strip-time', action='store_true',