This option is replaced with list_pools action.
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
lnst-ctl | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/lnst-ctl b/lnst-ctl
index a9979b4..20c2064 100755
--- a/lnst-ctl
+++ b/lnst-ctl
@@ -47,8 +47,6 @@ def usage(retval=0):
print " -d, --debug emit debugging messages"
print " --dump-config dumps the join of all loaded " \
"configuration files on stdout and exits"
- print " --dump-pools dumps the available machine " \
- "pools and exits"
print " -v, --verbose verbose version of list_pools " \
"command"
print " -h, --help print this message"
@@ -257,7 +255,6 @@ def main():
"multi-match",
"result=",
"pools=",
- "dump-pools"
"verbose"
]
)
@@ -298,7 +295,6 @@ def main():
reduce_sync = False
multi_match = False
dump_config = False
- dump_pools = False
verbose = False
pools = []
for opt, arg in opts:
@@ -336,8 +332,6 @@ def main():
dump_config = True
elif opt in ("--pools"):
pools.extend(arg.split(","))
- elif opt in ("--dump-pools"):
- dump_pools = True
elif opt in ("-v", "--verbose"):
verbose= True
@@ -348,11 +342,6 @@ def main():
print lnst_config.dump_config()
return RETVAL_PASS
- if dump_pools:
- for pool_name, pool_path in lnst_config.get_pools().items():
- print pool_name + ' = ' + pool_path
- return RETVAL_PASS
-
if coloured_output:
coloured_output = not lnst_config.get_option("colours",
"disable_colours")
--
2.4.11