From: peusterm Date: Mon, 18 Jul 2016 08:58:31 +0000 (+0200) Subject: Fix: Bidirectional CLI argument should be boolean X-Git-Tag: v3.1~90^2~6^2 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=commitdiff_plain;h=a307071a43b4a060970d8bc36993ddd78e0e1e96 Fix: Bidirectional CLI argument should be boolean --- diff --git a/src/emuvim/cli/rest/network.py b/src/emuvim/cli/rest/network.py index 86ed92b..4f6a32d 100755 --- a/src/emuvim/cli/rest/network.py +++ b/src/emuvim/cli/rest/network.py @@ -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",