mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
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 <PID>.
This commit is contained in:
parent
e1c1aaa956
commit
6811ab9c3b
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
|
|
||||||
if (!pid_argument.is_empty() || all_processes) {
|
if (!pid_argument.is_empty() || all_processes) {
|
||||||
if (!(enable ^ disable ^ wait ^ free)) {
|
if (!(enable ^ disable ^ wait ^ free)) {
|
||||||
warnln("-p <PID> requires -e xor -d xor -w xor -f.");
|
warnln("-a and -p <PID> requires -e xor -d xor -w xor -f.");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue