From f5bd5f9d0d22703753caad3227eed0c28b891788 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Wed, 24 Aug 2022 20:14:18 +0100 Subject: [PATCH] Options: Add '-s' to also enabe --silent mode. Plus a small tidy up. Closes: #653 Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 1e1466e..a2add2e 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -430,9 +430,9 @@ non-empty values to options are mandatory. General options: --batch : set automatic (no-prompts when possible) mode ---silent : Disable all Warnings and Notices +-s|--silent : Disable all Warnings and Notices --sbatch : Combined --silent and --batch operating mode ---quiet|-q : Quiet mode, disable information messages only +-q|--quiet : Quiet mode, disable information messages only --passin=ARG : set -passin ARG for openssl (eg: pass:xEasyRSAy) --passout=ARG : set -passout ARG for openssl (eg: pass:xEasyRSAy) @@ -4760,14 +4760,14 @@ while :; do --batch) empty_ok=1 export EASYRSA_BATCH=1 ;; - --silent) + -s|--silent) empty_ok=1 export EASYRSA_SILENT=1 ;; - --silent-batch|--sbatch) + --sbatch|--silent-batch) empty_ok=1 export EASYRSA_SILENT=1 export EASYRSA_BATCH=1 ;; - --quiet|-q) + -q|--quiet) empty_ok=1 export EASYRSA_QUIET=1 ;; --passin)