Skip to content

Commit

Permalink
[_537] mention --help in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
d-w-moore committed Aug 1, 2024
1 parent 816c2bd commit bb1d266
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions irods/test/setupssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,12 @@ def test(options, args=()):
def usage(exit_code = None):

print("""Usage: {sys.argv[0]} [-f] [-h <hostname>] [-k] [-q] [-x <extension>]
-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)
Expand Down

0 comments on commit bb1d266

Please sign in to comment.