Fix Non-Input Argument Error

This commit is contained in:
Narbeh Arakil 2019-06-29 01:24:26 +04:30
parent 6884c2660d
commit f9d5615fae

View File

@ -251,7 +251,7 @@ def get_args():
parser = ArgumentParser(prog='ssl_checker.py', add_help=False,
description="""Collects useful information about given host's SSL certificates.""")
group = parser.add_mutually_exclusive_group()
group = parser.add_mutually_exclusive_group(required=True)
group.add_argument('-H', '--host', dest='hosts', nargs='*',
required=False, help='Hosts as input separated by space')
group.add_argument('-f', '--host-file', dest='host_file',