Skip to content
Snippets Groups Projects
Commit c9e1d1b8 authored by Seblu's avatar Seblu
Browse files

fix default shutdown option to reboot

parent 2d2be899
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ class Command_shutdown(TqlCommand): ...@@ -14,7 +14,7 @@ class Command_shutdown(TqlCommand):
def __init__(self, cli, argv0): def __init__(self, cli, argv0):
TqlCommand.__init__(self, cli, argv0) TqlCommand.__init__(self, cli, argv0)
self.set_usage("%prog [options] <tql>") self.set_usage("%prog [options] <tql>")
self.add_option("-R", "--reboot", action="store_true", dest="reboot", self.add_option("-R", "--reboot", action="store_true", dest="reboot", default=True,
help="Reboot after shutdown (default)") help="Reboot after shutdown (default)")
self.add_option("-H", "--halt", action="store_false", dest="reboot", self.add_option("-H", "--halt", action="store_false", dest="reboot",
help="Halt after shutdown") help="Halt after shutdown")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment