From a307071a43b4a060970d8bc36993ddd78e0e1e96 Mon Sep 17 00:00:00 2001 From: peusterm Date: Mon, 18 Jul 2016 10:58:31 +0200 Subject: [PATCH] Fix: Bidirectional CLI argument should be boolean --- src/emuvim/cli/rest/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.17.1