1
0
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:
2009-06-15 15:38:39 +00:00
parent 60ecca1dc1
commit 4c60d1b285
2 changed files with 4 additions and 2 deletions

View File

@@ -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}
"""