summaryrefslogtreecommitdiffstats
path: root/cli/objects/wol.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/wol.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/wol.py')
-rw-r--r--cli/objects/wol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/objects/wol.py b/cli/objects/wol.py
index 44228c8..b037804 100644
--- a/cli/objects/wol.py
+++ b/cli/objects/wol.py
@@ -13,7 +13,7 @@ import argparse
class OgWol():
@staticmethod
- def send_wol(rest, args):
+ def request_wol(rest, args):
def scope_lookup(scope_id, scope_type, d):
if scope_id == d.get('id') and \
scope_type == d.get('type'):
@@ -26,7 +26,7 @@ class OgWol():
return lookup
return None
- parser = argparse.ArgumentParser(prog='ogcli send wol')
+ parser = argparse.ArgumentParser(prog='ogcli request wol')
parser.add_argument('--type',
nargs='?',
choices=['broadcast', 'unicast'],