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/poweroff.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/poweroff.py')
-rw-r--r-- | cli/objects/poweroff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/objects/poweroff.py b/cli/objects/poweroff.py index 46086cb..c8848c5 100644 --- a/cli/objects/poweroff.py +++ b/cli/objects/poweroff.py @@ -13,8 +13,8 @@ import argparse class OgPoweroff(): @staticmethod - def send_poweroff(rest, args): - parser = argparse.ArgumentParser(prog='ogcli send poweroff') + def request_poweroff(rest, args): + parser = argparse.ArgumentParser(prog='ogcli request poweroff') group = parser.add_argument_group( 'clients', 'Client selection options') group.add_argument('--center-id', |