diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-14 20:52:48 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-14 22:04:16 +0000 |
commit | 61cea60cd81d7e3278102a78f8d9183d356cd335 (patch) | |
tree | 72d1eddd95be7e9880f5d04b89fae1e03c8509fd /src/op_mode | |
parent | 06eabd239da20945b20900b6e91ee9be9b446c1d (diff) | |
download | vyos-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-x | src/op_mode/powerctrl.py | 2 |
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") |