diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-04 09:58:41 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-04 09:58:41 +0100 |
commit | b242ee9f6e1f84d7cbc6114cac1bc5300fa3afcc (patch) | |
tree | e6f07500de87d7f4a708fba18d3dd4efccf5dd98 /cli/objects/client.py | |
parent | 9f78cc5acee3e974e1c30bfdeac740e895e2dab1 (diff) |
change 'ogcli send' command into 'ogcli request'
By using the word 'request' the command becomes more semantic and
represents the 'best effort' nature of the communication with
ogserver.
Diffstat (limited to 'cli/objects/client.py')
-rw-r--r-- | cli/objects/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/objects/client.py b/cli/objects/client.py index 66d25bc..cf5e0b9 100644 --- a/cli/objects/client.py +++ b/cli/objects/client.py @@ -45,8 +45,8 @@ class OgClient(): print_json(r.text) @staticmethod - def send_refresh(rest, args): - parser = argparse.ArgumentParser(prog='ogcli send refresh') + def request_refresh(rest, args): + parser = argparse.ArgumentParser(prog='ogcli request refresh') parser.add_argument('--client-ip', action='append', default=[], |