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 <siddh.raman.pant@oracle.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
This commit is contained in:
Siddh Raman Pant 2024-05-10 15:02:57 +05:30 committed by Josh Poimboeuf
parent c02904f05f
commit b13e9f6da4

View File

@ -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;
}