From 3b27d5bc97372c01cb02d4dd0cd3b0b6fa1c3d94 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Sun, 14 Jan 2024 20:52:48 +0000 Subject: 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 ...]` --- src/op_mode/powerctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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") -- cgit v1.2.3