diff --git a/hyp.py b/hyp.py index 5f593d3..00a7eba 100644 --- a/hyp.py +++ b/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)