mirror of
https://github.com/certbot/certbot.git
synced 2026-01-27 19:42:53 +03:00
Don't accept files on the command line that don't do anything
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user