From: peusterm Date: Mon, 18 Jul 2016 09:33:06 +0000 (+0200) Subject: Merge pull request #140 from mpeuster/master X-Git-Tag: v3.1~90^2~6 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=commitdiff_plain;h=5ec027970640e933e781170654ada49cebf402f2;hp=45dda84f087c85d4e9c847b108f393982038c7a1 Merge pull request #140 from mpeuster/master 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",