mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-12 05:39:23 +01:00
Document '--buildtool-opt=--noclean' example in 'build' command's help
This commit is contained in:
parent
ea8d2c0d16
commit
9365a421ce
@ -7172,7 +7172,14 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
@cmdln.option('--build-opt', metavar='OPT', action='append',
|
@cmdln.option('--build-opt', metavar='OPT', action='append',
|
||||||
help='pass option OPT to the build command')
|
help='pass option OPT to the build command')
|
||||||
@cmdln.option('--buildtool-opt', metavar='OPT', action='append',
|
@cmdln.option('--buildtool-opt', metavar='OPT', action='append',
|
||||||
help='pass option OPT to the build tool command (rpmbuild)')
|
help=textwrap.dedent(
|
||||||
|
"""
|
||||||
|
pass option OPT to the build tool command (rpmbuild), for example:
|
||||||
|
* don't clean build environment after a successful build:
|
||||||
|
--buildtool-opt=--noclean
|
||||||
|
"""
|
||||||
|
),
|
||||||
|
)
|
||||||
@cmdln.option('--userootforbuild', '--login-as-root', action='store_true',
|
@cmdln.option('--userootforbuild', '--login-as-root', action='store_true',
|
||||||
help='Run build or shell as root. The default is to build as '
|
help='Run build or shell as root. The default is to build as '
|
||||||
'unprivileged user. Note that a line "# norootforbuild" '
|
'unprivileged user. Note that a line "# norootforbuild" '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user