Browse Source

Account command help.

Signed-off-by: Dan Schaper <dschaper@ganymeade.com>
pull/340/head
Dan Schaper 8 years ago
parent
commit
cd8d5b8d8e
No known key found for this signature in database GPG Key ID: FFF1A1AD0113C344
1 changed files with 18 additions and 2 deletions
  1. +18
    -2
      getsslD

+ 18
- 2
getsslD View File

@ -100,7 +100,6 @@ get_date() {
}
help_message_top() {
# Print help message
cat <<- _EOF_
Usage: "${PROGNAME}" [option] [COMMAND] [ARGS...]
@ -111,13 +110,26 @@ help_message_top() {
Options to long options apply to short options also.
Options:
-r, --rsa Use RSA algorith for key generation
-r, --rsa Use RSA algorith for key generation (Default)
-e, --ecc Use elliptic curve algorithm for key or cert generation
_EOF_
return 0
}
help_message_account() {
cat <<- _EOF_
Usage: "${PROGNAME}" account [COMMAND] [ARGS...]
Manage Lets Encrypt account
Commands:
key [LENGTH] Create Lets Encrypt account key. (Default 4096 bits)
_EOF_
return 0
}
prep_workdir() {
# Prepare working directory for key/cert functions
@ -191,6 +203,10 @@ arg_parser() {
create_key "${ACCOUNT_KEY_LOCATION}" "${key_length}" "${key_type}"
exit 0
;;
-h | --help)
help_message_account
exit 0
;;
esac # End account subcommands
;;
*)


Loading…
Cancel
Save