From 1266d4e8f896ea110fbeb28f76033b186c027b9d Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 3 Sep 2024 21:29:20 +0100 Subject: [PATCH] set-pass: 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 f5d93447..c0938b03 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3890,7 +3890,7 @@ Missing argument: no name/file supplied." file) file="$raw_file" ;; - *) warn "Ignoring unknown command option: '$1'" + *) user_error "Unknown command option: '$1'" esac shift done