This option is replaced with list_pools action.
Signed-off-by: Jiri Prochazka jprochaz@redhat.com --- lnst-ctl | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/lnst-ctl b/lnst-ctl index 506897d..f9af6c9 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" @@ -251,7 +249,6 @@ def main(): "multi-match", "result=", "pools=", - "dump-pools" "verbose" ] ) @@ -292,7 +289,6 @@ def main(): reduce_sync = False multi_match = False dump_config = False - dump_pools = False verbose = False pools = [] for opt, arg in opts: @@ -330,8 +326,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
@@ -342,11 +336,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")