From c9e1d1b8c47afcd1b82b79f507fad39233085e8e Mon Sep 17 00:00:00 2001 From: Seblu <sebastien.luttringer@smartjog.com> Date: Fri, 25 Feb 2011 17:49:51 +0100 Subject: [PATCH] fix default shutdown option to reboot --- cccli/command/shutdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cccli/command/shutdown.py b/cccli/command/shutdown.py index 2e361bb..508e428 100644 --- a/cccli/command/shutdown.py +++ b/cccli/command/shutdown.py @@ -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") -- GitLab