mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 22:24:08 +03:00
profile: Don't treat '--help' as an error
profile seems to be the only program treating '--help' as an error. Let's change that.
This commit is contained in:
parent
b8f11b1bae
commit
28195032a3
Notes:
sideshowbarker
2024-07-18 01:38:53 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/28195032a33 Pull-request: https://github.com/SerenityOS/serenity/pull/10655 Reviewed-by: https://github.com/linusg
@ -62,7 +62,7 @@ int main(int argc, char** argv)
|
||||
|
||||
if (!args_parser.parse(argc, argv, Core::ArgsParser::FailureBehavior::PrintUsage)) {
|
||||
print_types();
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (!pid_argument && !cmd_argument && !all_processes) {
|
||||
|
Loading…
Reference in New Issue
Block a user