Use single quotes
This commit is contained in:
parent
3f65ce3954
commit
b36366b3f9
8
hyp.py
8
hyp.py
@ -45,7 +45,7 @@ def main(address, port, tls_dir):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser(description="Hyperminimal https server")
|
||||
parser = argparse.ArgumentParser(description='Hyperminimal https server')
|
||||
parser.add_argument('address', nargs='?',
|
||||
type=str, default='0.0.0.0',
|
||||
help='bind ip address (default: 0.0.0.0)')
|
||||
@ -54,8 +54,8 @@ if __name__ == '__main__':
|
||||
help='bind port number (default: 80 or 443)')
|
||||
parser.add_argument('-t', '--tls', type=str,
|
||||
default='/usr/local/etc/openssl',
|
||||
help='cert/key couple directory. Must be PEM \
|
||||
formatted and named https-key.pem, https-cert.pem \
|
||||
(default: /usr/local/etc/openssl)')
|
||||
help='cert/key couple directory. Must be PEM'
|
||||
'formatted and named https-key.pem, https-cert.pem'
|
||||
'(default: /usr/local/etc/openssl)')
|
||||
args = parser.parse_args()
|
||||
main(args.address, args.port, args.tls)
|
||||
|
Loading…
Reference in New Issue
Block a user