mirror of
https://github.com/mawww/kakoune.git
synced 2024-09-11 13:00:41 +03:00
Remove --help
commandline special case
This special case was not handled in the `ParametersParser` and therefore did not respect the `--` separator for switches.
This commit is contained in:
parent
385a1aec18
commit
7e9c4b7f6a
@ -1122,9 +1122,6 @@ int main(int argc, char* argv[])
|
||||
| transform([](auto* s) { return String{s}; })
|
||||
| gather<Vector<String>>();
|
||||
|
||||
if (contains(params, "--help"_sv))
|
||||
return show_usage();
|
||||
|
||||
ParametersParser parser{params, param_desc};
|
||||
|
||||
const bool show_help_message = (bool)parser.get_switch("help");
|
||||
|
Loading…
Reference in New Issue
Block a user