From b2f791218df629d64db6a4e25ec95245fec8f990 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 3 Sep 2024 20:53:08 +0100 Subject: [PATCH] build-ca: Exit with error for unknown command options Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index ed53ff63..631cf64f 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -1600,7 +1600,7 @@ build_ca() { raw-ca|raw) EASYRSA_RAW_CA=1 ;; - *) warn "Ignoring unknown command option: '$1'" + *) user_error "Unknown command option: '$1'" esac shift done