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:
Ben Wiederhake 2021-10-26 21:38:10 +02:00 committed by Linus Groh
parent b8f11b1bae
commit 28195032a3
Notes: sideshowbarker 2024-07-18 01:38:53 +09:00

View File

@ -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) {