From b36366b3f90bec70086ab89a4ceeae0d85ac3852 Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Sat, 28 Mar 2015 15:01:41 +0100 Subject: [PATCH] Use single quotes --- hyp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)