diff --git a/mpcdf_set_as_branch.py b/mpcdf_set_as_branch.py index a29ca94aff91f99c5d1a00f84c9e62dc15f6de9a..ba1685ebbc5a89df236a158f331477a6bccf0b8c 100644 --- a/mpcdf_set_as_branch.py +++ b/mpcdf_set_as_branch.py @@ -10,6 +10,7 @@ import osc.core import osc.cmdln +@osc.cmdln.alias("mpcdf_setbr") def do_mpcdf_set_as_branch(self, subcmd, opts, *args): """${cmd_name}: Convert a package to be a branch of another diff --git a/mpcdf_sync_projects.py b/mpcdf_sync_projects.py index 24470e699982478616ed922ffbb9f2cc3c1def13..cac8d8a0431560b7ed0a49aa9f8f6a6c2ac244c0 100644 --- a/mpcdf_sync_projects.py +++ b/mpcdf_sync_projects.py @@ -15,6 +15,7 @@ import osc.cmdln help="Source project") @osc.cmdln.option('-t', '--to', help="Just sync with this single destination project") +@osc.cmdln.alias("mpcdf_syncpro") def do_mpcdf_sync_projects(self, subcmd, opts, *args): """${cmd_name}: Branch all/missing packages from a project to another and sync their metadata