summaryrefslogtreecommitdiff
path: root/src/op_mode/powerctrl.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-14 20:52:48 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-01-14 21:46:06 +0000
commit3b27d5bc97372c01cb02d4dd0cd3b0b6fa1c3d94 (patch)
tree4804b8d12a6bd0f17401f02ba1750e42e6f92c17 /src/op_mode/powerctrl.py
parent2db98a47a066e53972c3c7727a4618ef72a91951 (diff)
downloadvyos-1x-3b27d5bc97372c01cb02d4dd0cd3b0b6fa1c3d94.tar.gz
vyos-1x-3b27d5bc97372c01cb02d4dd0cd3b0b6fa1c3d94.zip
T5944: Fix reboot in arg
Fix the arg for the `reboot in x` command The current arg is `--reboot_in [Minutes ...]` The expected arg is `--reboot-in [Minutes ...]`
Diffstat (limited to 'src/op_mode/powerctrl.py')
-rwxr-xr-xsrc/op_mode/powerctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/powerctrl.py b/src/op_mode/powerctrl.py
index 3ac5991b4..1208fb7cd 100755
--- a/src/op_mode/powerctrl.py
+++ b/src/op_mode/powerctrl.py
@@ -191,7 +191,7 @@ def main():
nargs="*",
metavar="HH:MM")
- action.add_argument("--reboot_in", "-i",
+ action.add_argument("--reboot-in", "-i",
help="Reboot the system",
nargs="*",
metavar="Minutes")