In the 0.14.0 compatible version, passing an invalid command line option e.g. -qq would print an error, even if app.help_config.print_help_on_error = false;
Now it silently exits.
I was able to recreate this on the short.zig demo by changing the run part to:
app.help_config.print_help_on_error = false;
return r.run(&app);
And then passing an invalid option.
In my application, I don't want the whole help shown if someone just mistypes an option. I want them to only get the full help list when they use -h / --help.
I've not tried to track down the source of the issue yet. But will do so if I can later.
In the 0.14.0 compatible version, passing an invalid command line option e.g.
-qqwould print an error, even ifapp.help_config.print_help_on_error = false;Now it silently exits.
I was able to recreate this on the
short.zigdemo by changing the run part to:And then passing an invalid option.
In my application, I don't want the whole help shown if someone just mistypes an option. I want them to only get the full help list when they use -h / --help.
I've not tried to track down the source of the issue yet. But will do so if I can later.