From 28195032a33a6d5bdfda7311e505c771aa97cc26 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Tue, 26 Oct 2021 21:38:10 +0200 Subject: [PATCH] profile: Don't treat '--help' as an error profile seems to be the only program treating '--help' as an error. Let's change that. --- Userland/Utilities/profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/profile.cpp b/Userland/Utilities/profile.cpp index e80c9a8e47..133db81151 100644 --- a/Userland/Utilities/profile.cpp +++ b/Userland/Utilities/profile.cpp @@ -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) {