mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00: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
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
Add a link
Reference in a new issue