From bb1d266d19b9c62035e51cf57dd7294539b8bf29 Mon Sep 17 00:00:00 2001 From: d-w-moore Date: Thu, 1 Aug 2024 14:46:51 -0400 Subject: [PATCH] [_537] mention --help in usage --- irods/test/setupssl.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/irods/test/setupssl.py b/irods/test/setupssl.py index 2a2c1978..15a45526 100755 --- a/irods/test/setupssl.py +++ b/irods/test/setupssl.py @@ -75,11 +75,12 @@ def test(options, args=()): def usage(exit_code = None): print("""Usage: {sys.argv[0]} [-f] [-h ] [-k] [-q] [-x ] - -f Force replacement of the existing SSL directory (/etc/irods/ssl) with a new one, containing newly generated files. - -h In the generated certificate, use the given hostname rather than the value returned from socket.gethostname() - -k (Keep old secrets files.) Do not generate new key file or dhparams.pem file. - -q For testing; do a quick generation of a dhparams.pem file rather than waiting on system entropy to make it more secure. - -x Optional extra extension for appending to end of the filename for the generated certificate. + -f Force replacement of the existing SSL directory (/etc/irods/ssl) with a new one, containing newly generated files. + -h In the generated certificate, use the given hostname rather than the value returned from socket.gethostname() + -k (Keep old secrets files.) Do not generate new key file or dhparams.pem file. + -q For testing; do a quick generation of a dhparams.pem file rather than waiting on system entropy to make it more secure. + -x Optional extra extension for appending to end of the filename for the generated certificate. + --help Print this help. Any invalid option prints this help. """.format(**globals()), file = sys.stderr)