Commit 61353d89 authored by Alexandre's avatar Alexandre
Browse files

Incompatible options

parent 5e16e844
......@@ -879,13 +879,12 @@ if not monitoring:
usage("POST or HEAD makes non sense for DoT")
sys.exit(1)
if check and multistreams:
print("--check and --multistreams are not compatible yet")
usage("--check and --multistreams are not compatible")
sys.exit(1)
if dot and multistreams:
usage("Multi-streams makes no sense for DoT")
sys.exit(1)
if multistreams and ifile is None:
# TODO: use multistreams with --check
usage("Multi-streams requires an input file")
sys.exit(1)
if not edns and not no_ecs:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment