Skip to content
Snippets Groups Projects
Commit 008e9109 authored by Sebastian Ohlmann's avatar Sebastian Ohlmann
Browse files

Add aliases for mpcdf_set_as_branch, mpcdf_sync_projects

Enables zsh completion to find these commands. otherwise the output of
osc help is not correctly parsed.
parent a0434218
Branches
No related tags found
1 merge request!1Add aliases for mpcdf_set_as_branch, mpcdf_sync_projects
...@@ -10,6 +10,7 @@ import osc.core ...@@ -10,6 +10,7 @@ import osc.core
import osc.cmdln import osc.cmdln
@osc.cmdln.alias("mpcdf_setbr")
def do_mpcdf_set_as_branch(self, subcmd, opts, *args): def do_mpcdf_set_as_branch(self, subcmd, opts, *args):
"""${cmd_name}: Convert a package to be a branch of another """${cmd_name}: Convert a package to be a branch of another
......
...@@ -15,6 +15,7 @@ import osc.cmdln ...@@ -15,6 +15,7 @@ import osc.cmdln
help="Source project") help="Source project")
@osc.cmdln.option('-t', '--to', @osc.cmdln.option('-t', '--to',
help="Just sync with this single destination project") help="Just sync with this single destination project")
@osc.cmdln.alias("mpcdf_syncpro")
def do_mpcdf_sync_projects(self, subcmd, opts, *args): def do_mpcdf_sync_projects(self, subcmd, opts, *args):
"""${cmd_name}: Branch all/missing packages from a project to another and sync their metadata """${cmd_name}: Branch all/missing packages from a project to another and sync their metadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment