summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/cli.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/cli.py b/cli/cli.py
index 1a31d61..157ea00 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -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):