diff options
Diffstat (limited to 'cli/cli.py')
-rw-r--r-- | cli/cli.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -72,8 +72,7 @@ class OgCLI(): def list(self, args): choices = ['clients', 'scopes', 'modes', 'hardware', - 'client', 'images', 'disks', 'server', - 'servers', 'repos'] + 'client', 'images', 'disks', 'servers', 'repos'] parser = argparse.ArgumentParser(prog='ogcli list') parser.add_argument('item', choices=choices) @@ -99,7 +98,7 @@ class OgCLI(): OgDisk.list_disks(self.rest, args[1:]) elif parsed_args.item == 'repos': OgRepo.list_repos(self.rest) - elif parsed_args.item in ['server', 'servers']: + elif parsed_args.item == 'servers': OgServer.list_servers(self.rest) def set(self, args): |