mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibCore/ArgsParser: Treat multi-use arguments as required
This commit is contained in:
parent
cfc8d36b80
commit
c67035b9c1
Notes:
github-actions[bot]
2025-02-05 12:28:03 +00:00
Author: https://github.com/tcl3
Commit: c67035b9c1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3457
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue