Commit c9e1d1b8 authored by Seblu's avatar Seblu
Browse files

fix default shutdown option to reboot

parent 2d2be899
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ class Command_shutdown(TqlCommand):
    def __init__(self, cli, argv0):
        TqlCommand.__init__(self, cli, argv0)
        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)")
        self.add_option("-H", "--halt", action="store_false", dest="reboot",
                        help="Halt after shutdown")