Fix: Bidirectional CLI argument should be boolean
[osm/vim-emu.git] / 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",