Blob Blame History Raw
From 4dfb294646685e0e920b485b1fce2c6441918c19 Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Thu, 17 Sep 2015 23:24:28 +0200
Subject: [PATCH] fence_ipmilan: -i was used twice in fence_ipmilan

-i was not propagated as --ipmitool-path so we have removed it.
---
 fence/agents/ipmilan/fence_ipmilan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py
index fd04110..4c9eea8 100644
--- a/fence/agents/ipmilan/fence_ipmilan.py
+++ b/fence/agents/ipmilan/fence_ipmilan.py
@@ -111,7 +111,7 @@ def define_new_opts():
 		"order": 1
 	}
 	all_opt["ipmitool_path"] = {
-		"getopt" : "i:",
+		"getopt" : ":",
 		"longopt" : "ipmitool-path",
 		"help" : "--ipmitool-path=[path]         Path to ipmitool binary",
 		"required" : "0",
-- 
1.9.3