mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 15:06:15 +01:00
Make 'metafromspec' and alias to 'updatepacmetafromspec', to make the command
easier to memorize
This commit is contained in:
parent
d047b30aa8
commit
4df8ffd6ea
@ -865,6 +865,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
delete_project(conf.config['apiurl'], project)
|
delete_project(conf.config['apiurl'], project)
|
||||||
|
|
||||||
|
|
||||||
|
@cmdln.alias('metafromspec')
|
||||||
@cmdln.option('', '--specfile', metavar='FILE',
|
@cmdln.option('', '--specfile', metavar='FILE',
|
||||||
help='Path to specfile. (if you pass more than working copy this option is ignored)')
|
help='Path to specfile. (if you pass more than working copy this option is ignored)')
|
||||||
def do_updatepacmetafromspec(self, subcmd, opts, *args):
|
def do_updatepacmetafromspec(self, subcmd, opts, *args):
|
||||||
|
Loading…
Reference in New Issue
Block a user