From 2c51288474621dfd0803dc29b830e053d9943ef7 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 3 Sep 2024 21:27:30 +0100 Subject: [PATCH] export_pkcs(): 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 0da41bdf..f5d93447 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3645,7 +3645,7 @@ Run easyrsa without commands for usage and command help." fi ;; *) - warn "Ignoring unknown option: '$1'" + user_error "Unknown command option: '$1'" esac shift done