Fix: Bidirectional CLI argument should be boolean
authorpeusterm <manuel.peuster@uni-paderborn.de>
Mon, 18 Jul 2016 08:58:31 +0000 (10:58 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Mon, 18 Jul 2016 08:58:31 +0000 (10:58 +0200)
src/emuvim/cli/rest/network.py

index 86ed92b..4f6a32d 100755 (executable)
@@ -117,7 +117,7 @@ parser.add_argument(
     "--match", "-m", dest="match",
     help="string holding extra matches for the flow entries")
 parser.add_argument(
-    "--bidirectional", "-b", dest="bidirectional",
+    "--bidirectional", "-b", dest="bidirectional", action='store_true',
     help="add/remove the flow entries from src to dst and back")
 parser.add_argument(
     "--cookie", "-c", dest="cookie",