fence-agents: master - fence_ipmilan: Mismatch between device options and getopt arguments (-L / -P)

Marek GrĂ¡c marx at fedoraproject.org
Mon Feb 17 13:25:07 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=4ad407fa2fe278ae205ae890b3ca548bd1e59335
Commit:        4ad407fa2fe278ae205ae890b3ca548bd1e59335
Parent:        53fe387f00278e769e00ec10b28e2cb6ff52c8b1
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Mon Feb 17 13:54:04 2014 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Mon Feb 17 13:54:04 2014 +0100

fence_ipmilan: Mismatch between device options and getopt arguments (-L / -P)

---
 fence/agents/ipmilan/fence_ipmilan.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py
index e15dc94..de42524 100644
--- a/fence/agents/ipmilan/fence_ipmilan.py
+++ b/fence/agents/ipmilan/fence_ipmilan.py
@@ -113,9 +113,9 @@ def create_command(options, action):
 
 def define_new_opts():
     all_opt["lanplus"] = {
-        "getopt" : "L",
+        "getopt" : "P",
         "longopt" : "lanplus",
-        "help" : "-L, --lanplus                  Use Lanplus to improve security of connection",
+        "help" : "-P, --lanplus                  Use Lanplus to improve security of connection",
         "required" : "0",
         "default" : "0",
         "shortdesc" : "Use Lanplus to improve security of connection",
@@ -140,9 +140,9 @@ def define_new_opts():
         "order": 1
         }
     all_opt["privlvl"] = {
-        "getopt" : "P:",
+        "getopt" : "L:",
         "longopt" : "privlvl",
-        "help" : "-P, --privlvl=[level]          Privilege level on IPMI device (callback|user|operator|administrator)",
+        "help" : "-L, --privlvl=[level]          Privilege level on IPMI device (callback|user|operator|administrator)",
         "required" : "0",
         "shortdesc" : "Privilege level on IPMI device",
         "default" : "administrator",


More information about the cluster-commits mailing list