Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
3a94e301
Commit
3a94e301
authored
Oct 07, 2020
by
Alexandre
Browse files
Fix usage
parent
ae579f6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
homer.py
View file @
3a94e301
...
...
@@ -68,7 +68,7 @@ def error(msg=None, exit=True):
def
usage
(
msg
=
None
):
if
msg
:
print
(
msg
,
file
=
sys
.
stderr
)
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
)
print
(
"""Options
-t --dot Use DoT (by default use DoH)
-k --insecure Do not check the certificate
...
...
tests.yaml
View file @
3a94e301
...
...
@@ -20,7 +20,7 @@ tests:
args
:
-
'
-h'
retcode
:
0
partstderr
:
'
url-or-servername
[
domain-name
[DNS
type]
]
'
partstderr
:
'
url-or-servername
domain-name
[DNS
type]'
stdout
:
'
'
-
exe
:
'
./homer.py'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment