From: Siddh Raman Pant Date: Fri, 10 May 2024 09:32:57 +0000 (+0530) Subject: objtool: Use "action" in error message to be consistent with help X-Git-Tag: v6.11-rc1~170^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b13e9f6da4cc34240dae05418b9876b2758ebe35;p=thirdparty%2Flinux.git objtool: Use "action" in error message to be consistent with help The help message mentions the main options as "actions", which is different from the optional "options". But the check error messages outputs "option" or "command" for referring to actions. Make the error messages consistent with help. Signed-off-by: Siddh Raman Pant Signed-off-by: Josh Poimboeuf --- diff --git a/tools/objtool/builtin-check.c b/tools/objtool/builtin-check.c index 5e21cfb7661d0..387d56a7f5fb8 100644 --- a/tools/objtool/builtin-check.c +++ b/tools/objtool/builtin-check.c @@ -144,7 +144,7 @@ static bool opts_valid(void) opts.static_call || opts.uaccess) { if (opts.dump_orc) { - ERROR("--dump can't be combined with other options"); + ERROR("--dump can't be combined with other actions"); return false; } @@ -159,7 +159,7 @@ static bool opts_valid(void) if (opts.dump_orc) return true; - ERROR("At least one command required"); + ERROR("At least one action required"); return false; }