@@ -22,22 +22,21 @@ Global options:
2222
2323--version : Prints EasyRSA version and build information
2424--verbose|-v : Enable verbose output
25- --batch : Set automatic (no-prompts when possible) mode
25+ --batch|-b : Set automatic (no-prompts when possible) mode
2626--silent|-s : Disable all warnings, notices and information
27- --sbatch : Combined --silent and --batch operating mode
2827--silent-ssl|-S : Silence SSL output (Requires batch mode)
2928
3029--nopass|no-pass: Do not use passwords
3130 Can NOT be used with --passin or --passout
3231--passin=ARG : Set -passin ARG for openssl (eg: pass:xEasyRSAy)
3332--passout=ARG : Set -passout ARG for openssl (eg: pass:xEasyRSAy)
34- --raw-ca : Build CA with password via RAW SSL input
33+ --rawca| raw-ca : Build CA with password via RAW SSL input
3534
36- --vars=FILE : Define a specific 'vars' file to use for Easy-RSA config
37- (Default vars file is in the current working directory)
3835--pki=DIR : Declare the PKI directory
3936 (Default PKI directory is sub-directory 'pki')
4037 See Advanced.md for in depth usage.
38+ --vars=FILE : Define a specific 'vars' file to use for Easy-RSA config
39+ (Default vars file is in the current working PKI)
4140
4241--umask=ARG : Define a UMASK (Default 077)
4342--no-umask : Do not use a UMASK, fall back to file system default.
@@ -129,8 +128,8 @@ Command list:
129128 expire <file_name_base>
130129 renew-ca
131130 renew <file_name_base>
132- revoke <file_name_base> [ cmd-opts ] #( DEPRECATED)
133- revoke-issued <file_name_base> [ cmd-opts ] #( REPLACEMENT)
131+ revoke <file_name_base> [ cmd-opts ] # DEPRECATED
132+ revoke-issued <file_name_base> [ cmd-opts ] # REPLACEMENT
134133 revoke-expired <file_name_base> [ cmd-opts ]
135134 revoke-renewed <file_name_base> [ cmd-opts ]
136135 gen-crl
@@ -150,11 +149,11 @@ Command list:
150149 export-p12 <file_name_base> [ cmd-opts ]
151150 set-pass <file_name_base> [ cmd-opts ]
152151 gen-tls-auth-key / gen-tls-crypt-key
153- write <type >
152+ write <TYPE >
154153 serial|check-serial <SERIAL>
155- display-dn <form > <DIR/FILE_NAME>
154+ display-dn <FORM > <DIR/FILE_NAME>
156155 show-eku <file_name_base>|<DIR/FILE_NAME>
157- rand <decimal_number >
156+ rand <Decimal-Number >
158157"
159158} # => usage()
160159
@@ -6851,7 +6850,7 @@ while :; do
68516850 empty_ok=1
68526851 export EASYRSA_NS_COMMENT="$val"
68536852 ;;
6854- --batch)
6853+ -b|- -batch)
68556854 empty_ok=1
68566855 export EASYRSA_BATCH=1
68576856 ;;
@@ -6962,7 +6961,7 @@ while :; do
69626961 -*)
69636962 user_error "\
69646963Unknown option '$opt'.
6965- Run 'easyrsa help options ' for option help."
6964+ Run 'easyrsa help' for option help."
69666965 ;;
69676966 *)
69686967 break
70047003# Set cmd now
70057004cmd="$1"
70067005[ "$1" ] && shift # scrape off command
7006+ fn_name="$cmd"
70077007
70087008# Hand off to the function responsible
70097009# ONLY verify_working_env() for valid commands
0 commit comments