mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibCore/ArgsParser: Treat multi-use arguments as required
This commit is contained in:
Notes:
github-actions[bot]
2025-02-05 12:28:03 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c67035b9c1a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3457 Reviewed-by: https://github.com/trflynn89
@@ -544,7 +544,7 @@ void ArgsParser::add_option(Optional<double>& value, char const* help_string, ch
|
||||
void ArgsParser::add_option(Vector<ByteString>& 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,
|
||||
|
||||
Reference in New Issue
Block a user