mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Don't accept files on the command line that don't do anything
This commit is contained in:
parent
21ff3acf93
commit
ff5810d78f
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ def collect(mail_domain):
|
|||
|
||||
if __name__ == '__main__':
|
||||
"""Consume a target list of domains and output a configuration file for those domains."""
|
||||
if len(sys.argv) == 1:
|
||||
if len(sys.argv) != 2: # XXX or accept multiple files as input
|
||||
print("Usage: CheckSTARTTLS.py list-of-domains.txt > output.json")
|
||||
|
||||
config = collections.defaultdict(dict)
|
||||
|
|
|
|||
Loading…
Reference in a new issue