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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue