Commit 3a94e301 authored by Alexandre's avatar Alexandre
Browse files

Fix usage

parent ae579f6d
......@@ -68,7 +68,7 @@ def error(msg=None, exit=True):
def usage(msg=None):
if msg:
print("Usage: %s [options] url-or-servername [domain-name [DNS type]]" % sys.argv[0], file=sys.stderr)
print("Usage: %s [options] url-or-servername domain-name [DNS type]" % sys.argv[0], file=sys.stderr)
-t --dot Use DoT (by default use DoH)
-k --insecure Do not check the certificate
......@@ -20,7 +20,7 @@ tests:
- '-h'
retcode: 0
partstderr: 'url-or-servername [domain-name [DNS type]]'
partstderr: 'url-or-servername domain-name [DNS type]'
stdout: ''
- exe: './'
Markdown is supported
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