Loading cccli/command/host.py +2 −2 Original line number Diff line number Diff line Loading @@ -30,11 +30,11 @@ 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", help="Reboot after shutdown (default)") self.add_option("-H", "--halt", action="store_false", dest="reboot", help="Halt after shutdown") self.add_option("-n", action="store_false", dest="graceful", default=True, self.add_option("-F", action="store_false", dest="graceful", default=True, help="do not go through init but go down real fast") def __call__(self, argv): Loading Loading
cccli/command/host.py +2 −2 Original line number Diff line number Diff line Loading @@ -30,11 +30,11 @@ 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", help="Reboot after shutdown (default)") self.add_option("-H", "--halt", action="store_false", dest="reboot", help="Halt after shutdown") self.add_option("-n", action="store_false", dest="graceful", default=True, self.add_option("-F", action="store_false", dest="graceful", default=True, help="do not go through init but go down real fast") def __call__(self, argv): Loading