summaryrefslogtreecommitdiffstats
path: root/cli/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.py')
-rw-r--r--cli/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cli.py b/cli/cli.py
index ed65a4f..c3accdd 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -76,7 +76,7 @@ class OgCLI():
self.rest = OgREST(cfg['ip'], cfg['port'], cfg['api_token'])
def list(self, args):
- choices = ['clients', 'scopes', 'modes', 'hardware',
+ choices = ['clients', 'scope', 'modes', 'hardware',
'client', 'images', 'disks', 'servers', 'repos', 'live']
parser = argparse.ArgumentParser(prog='ogcli list')
parser.add_argument('item', choices=choices)
@@ -95,7 +95,7 @@ class OgCLI():
OgClient.list_client_hardware(self.rest, args[1:])
elif parsed_args.item == 'modes':
OgModes.list_available_modes(self.rest)
- elif parsed_args.item == 'scopes':
+ elif parsed_args.item == 'scope':
OgScope.list_scopes(self.rest, args[1:])
elif parsed_args.item == 'images':
OgImage.list_images(self.rest)