diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-02 13:38:36 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-02 13:38:36 +0100 |
commit | 76b4492fe65199c974b35c90b577c9cf977cf78d (patch) | |
tree | 759c778fa11f119e5fa5154e78e3e1878e488b43 /cli/cli.py | |
parent | 717a1021d30069bb1fa35df56a0ba61062fea84f (diff) |
cli: remove 'list server'
list servers already provides the same.
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): |