From 15a0de5793b2820236b3da032d6a7feefe93d0f1 Mon Sep 17 00:00:00 2001
From: Seblu <sebastien.luttringer@smartjog.com>
Date: Mon, 14 Feb 2011 12:22:00 +0100
Subject: [PATCH] fix options conflict in shutdown command

---
 cccli/command/host.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cccli/command/host.py b/cccli/command/host.py
index 6ef88e2..797c8f1 100644
--- a/cccli/command/host.py
+++ b/cccli/command/host.py
@@ -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):
-- 
GitLab