commit b48ca7782c73e205678db271e47258155120f5ba
Author: Jiri Prochazka <jprochaz(a)redhat.com>
Date: Wed Jan 28 15:04:34 2015 +0100
Fixed long parameters parsing in lnst-slave
--port and --pidfile didn't have '=' in getopt options.
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst-slave | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lnst-slave b/lnst-slave
index ce6c390..d4345c3 100755
--- a/lnst-slave
+++ b/lnst-slave
@@ -43,7 +43,7 @@ def main():
opts = getopt.getopt(
sys.argv[1:],
"dhei:p:m",
- ["debug", "help", "daemonize",
"pidfile", "port", "no-colours"]
+ ["debug", "help", "daemonize",
"pidfile=", "port=", "no-colours"]
)[0]
except getopt.GetoptError as err:
print str(err)