summaryrefslogtreecommitdiffstats
path: root/cli/objects/client.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-03-04 09:58:41 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-03-04 09:58:41 +0100
commitb242ee9f6e1f84d7cbc6114cac1bc5300fa3afcc (patch)
treee6f07500de87d7f4a708fba18d3dd4efccf5dd98 /cli/objects/client.py
parent9f78cc5acee3e974e1c30bfdeac740e895e2dab1 (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.py4
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=[],