diff options
Diffstat (limited to 'cli/cli.py')
-rw-r--r-- | cli/cli.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -109,7 +109,7 @@ class OgCLI(): OgLive.list_live(self.rest) def set(self, args): - choices = ['modes', 'mode', 'server', 'repo'] + choices = ['modes', 'mode', 'repo'] parser = argparse.ArgumentParser(prog='ogcli set') parser.add_argument('item', choices=choices) @@ -123,8 +123,6 @@ class OgCLI(): OgModes.set_modes(self.rest, args[1:]) elif parsed_args.item == 'repo': OgRepo.set_repo(self.rest, args[1:]) - elif parsed_args.item == 'server': - OgServer.set_server(self.rest, args[1:]) def request(self, args): choices = ['reboot', 'refresh', 'poweroff', 'wol', 'session'] |