From 6811ab9c3be14f535baa86365173c839d4e10cb4 Mon Sep 17 00:00:00 2001 From: PrestonLTaylor <95388976+PrestonLTaylor@users.noreply.github.com> Date: Tue, 2 May 2023 22:12:56 +0100 Subject: [PATCH] profile: Add -a to warning message when -e, -d, -w xor -f is not set -a and -p both require only one of the flags. We will inform the user of this for both -a and -p . --- 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 e50c3a8704..f4a2ec369c 100644 --- a/Userland/Utilities/profile.cpp +++ b/Userland/Utilities/profile.cpp @@ -82,7 +82,7 @@ ErrorOr serenity_main(Main::Arguments arguments) if (!pid_argument.is_empty() || all_processes) { if (!(enable ^ disable ^ wait ^ free)) { - warnln("-p requires -e xor -d xor -w xor -f."); + warnln("-a and -p requires -e xor -d xor -w xor -f."); return 1; }