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