diff --git a/NEWS b/NEWS index 48f5ad4d..5a7c7d79 100644 --- a/NEWS +++ b/NEWS @@ -39,6 +39,7 @@ availibility config value, 'standard' and 'opensuse_Factory' in platforms list and in case of fail it uses the last entry from that list - new osc linkpac -f to allow to override existing _link files +- rename "rebuildpac" to "rebuild", but keep "rebuildpac" as alias 0.117: - support checkout of single package via "osc co PACKAGE" when local dir is project diff --git a/osc/commandline.py b/osc/commandline.py index cd7f9502..fe7e7058 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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 and 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} """