summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-14 20:52:48 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-14 22:04:16 +0000
commit61cea60cd81d7e3278102a78f8d9183d356cd335 (patch)
tree72d1eddd95be7e9880f5d04b89fae1e03c8509fd /src/op_mode
parent06eabd239da20945b20900b6e91ee9be9b446c1d (diff)
downloadvyos-1x-61cea60cd81d7e3278102a78f8d9183d356cd335.tar.gz
vyos-1x-61cea60cd81d7e3278102a78f8d9183d356cd335.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 ...]` (cherry picked from commit 3b27d5bc97372c01cb02d4dd0cd3b0b6fa1c3d94)
Diffstat (limited to 'src/op_mode')
-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")