Commit 64529929 authored by Patrick Dowler's avatar Patrick Dowler
Browse files

cadc-cert-gen-1.0.1: fixed --help message

parent 01b11a8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ sourceCompatibility = 1.7

group = 'org.opencadc'

version = '1.0'
version = '1.0.1'

mainClassName = 'ca.nrc.cadc.cert.Main'

+5 −3
Original line number Diff line number Diff line
@@ -193,13 +193,13 @@ public class Main

        String[] um = {
                "",
                "cadcCertGenDA [options] [--dryrun] --expiring=<numDays> --signingCert=<certfile.pem>",
                "cadc-cert-gen [options] [--dryrun] --expiring=<numDays> --signingCert=<certfile.pem>",
                "    \"renew certificates that will expire within <numDays>\"",
                "    --dryrun - only list the expiring certificates",
                "",
                "  OR",
                "",
                "cadcCertGenDA [options] --userid=<userid> --signingCert=<certfile.pem>",
                "cadc-cert-gen [options] --userid=<userid> --signingCert=<certfile.pem>",
                "    \"renew certificate for user with userid <userid>\"",
                "",
                "  WHERE",
@@ -208,7 +208,9 @@ public class Main
                "  OPTIONS:",
                "    --server=<server> (default is SYBASE)",
                "    --database=<database> (default is archive)",
                "    --cred=<cred service host> (optional non-productuion service)",
                "    --cred=<CDP service host> (optional non-production service)",
                "  IMPORTANT: the --server/--database must specify the back-end persistence used",
                "             by the CDP service given by the --cred option",
                "    -h --help: show help",
                "    -v --verbose",
                "    -d --debug",