1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-24 23:28:53 +02:00

add --login-as-root alias of old "osc chroot".

is doing the same as --userootforbuild now
This commit is contained in:
2019-12-02 14:01:18 +01:00
parent d46e93fb03
commit e5788030bf

View File

@@ -6291,7 +6291,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='define macro X with value Y')
@cmdln.option('--build-opt', metavar='OPT', action='append',
help='pass option OPT to the build command')
@cmdln.option('--userootforbuild', 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 '
'unprivileged user. Note that a line "# norootforbuild" '
'in the spec file will invalidate this option.')