diff options
Diffstat (limited to 'cli/objects/server.py')
-rw-r--r-- | cli/objects/server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/objects/server.py b/cli/objects/server.py index 25b545a..38cc6b0 100644 --- a/cli/objects/server.py +++ b/cli/objects/server.py @@ -31,6 +31,7 @@ class OgServer(): def delete_server(rest, args): parser = argparse.ArgumentParser(prog='ogcli delete server') parser.add_argument('--id', + type=int, nargs='?', required=True, help='server id in the database') @@ -42,6 +43,7 @@ class OgServer(): def set_server(rest, args): parser = argparse.ArgumentParser(prog='ogcli set server') parser.add_argument('--id', + type=int, nargs='?', required=True, help='server id in the database') |