From c67035b9c1a6d126deb2454a2e1a4cac37d4d1a8 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Tue, 4 Feb 2025 19:21:08 +0000 Subject: [PATCH] LibCore/ArgsParser: Treat multi-use arguments as required --- Libraries/LibCore/ArgsParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibCore/ArgsParser.cpp b/Libraries/LibCore/ArgsParser.cpp index fd764bbaad4..d29b8c13e77 100644 --- a/Libraries/LibCore/ArgsParser.cpp +++ b/Libraries/LibCore/ArgsParser.cpp @@ -544,7 +544,7 @@ void ArgsParser::add_option(Optional& value, char const* help_string, ch void ArgsParser::add_option(Vector& values, char const* help_string, char const* long_name, char short_name, char const* value_name, OptionHideMode hide_mode) { Option option { - OptionArgumentMode::Optional, + OptionArgumentMode::Required, help_string, long_name, short_name,