Use single quotes

This commit is contained in:
Rnhmjoj 2015-03-28 15:01:41 +01:00
parent 3f65ce3954
commit b36366b3f9

8
hyp.py
View File

@ -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)