summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-04-29 13:59:57 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-04-29 13:59:57 +0200
commitd87f8145ca0ef95e4a99d0826271ede8294a287c (patch)
tree202d79c377d4b0cac4b82f4f9077cb960bff9f95 /commands
parentf3075e86f3ea5c73173dd1794df210e4ccd5b0c4 (diff)
downloadclufter-d87f8145ca0ef95e4a99d0826271ede8294a287c.tar.gz
clufter-d87f8145ca0ef95e4a99d0826271ede8294a287c.tar.xz
clufter-d87f8145ca0ef95e4a99d0826271ede8294a287c.zip
commands/ccs2pcs: ccs-revitalize <- simplify cornercases down the line
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'commands')
-rw-r--r--commands/ccs2pcs.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/commands/ccs2pcs.py b/commands/ccs2pcs.py
index 9dc91d1..53056cd 100644
--- a/commands/ccs2pcs.py
+++ b/commands/ccs2pcs.py
@@ -10,8 +10,9 @@ from ..command import Command, CommandAlias
@Command.deco(('ccs2flatccs',
('ccs2ccs-pcmk'),
- ('flatccs2pcs',
- ('pcs2simplepcs')),
+ ('ccs-revitalize',
+ ('flatccs2pcs',
+ ('pcs2simplepcs'))),
('ccs2flatironxml',
('xml2simpleconfig'))))
def ccs2pcs_flatiron(cmd_ctxt,
@@ -43,7 +44,9 @@ def ccs2pcs_flatiron(cmd_ctxt,
(
('file', ccs_pcmk),
(
- ('file', cib),
+ (
+ ('file', cib),
+ ),
),
(
('file', coro),
@@ -53,8 +56,9 @@ def ccs2pcs_flatiron(cmd_ctxt,
@Command.deco(('ccs2flatccs',
- ('flatccs2pcs',
- ('pcs2simplepcs')),
+ ('ccs-revitalize',
+ ('flatccs2pcs',
+ ('pcs2simplepcs'))),
('ccs2needlexml',
('xml2simpleconfig'))))
def ccs2pcs_needle(cmd_ctxt,
@@ -82,7 +86,9 @@ def ccs2pcs_needle(cmd_ctxt,
('file', input),
(
(
- ('file', cib),
+ (
+ ('file', cib),
+ ),
),
(
('file', coro),