mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 05:38:43 +02:00
rename "rebuildpac" to "rebuild", but keep "rebuildpac" as alias.
This command works also for whole projects and we get rid of another place of pac/pkg statements.
This commit is contained in:
@@ -2410,7 +2410,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
@cmdln.option('-f', '--failed', action='store_true',
|
||||
help='rebuild all failed packages')
|
||||
def do_rebuildpac(self, subcmd, opts, *args):
|
||||
@cmdln.alias('rebuildpac')
|
||||
def do_rebuild(self, subcmd, opts, *args):
|
||||
"""${cmd_name}: Triggers package rebuilds
|
||||
|
||||
With the optional <repo> and <arch> arguments, the rebuild can be limited
|
||||
@@ -2428,7 +2429,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
'osc repos' output.
|
||||
|
||||
usage:
|
||||
osc rebuildpac PROJECT [PACKAGE [PLATFORM [ARCH]]]
|
||||
osc rebuild PROJECT [PACKAGE [PLATFORM [ARCH]]]
|
||||
${cmd_option_list}
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user