diff options
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r-- | java/config/TestUtil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py index 9308f293771..f6f83fa5306 100644 --- a/java/config/TestUtil.py +++ b/java/config/TestUtil.py @@ -69,6 +69,8 @@ for o, a in opts: if o == "--debug": debug = 1 if o == "--protocol": + if a not in ( "tcp", "ssl"): + usage() protocol = a if o == "--compress": compress = 1 |