diff options
author | Siddh Raman Pant <siddh.raman.pant@oracle.com> | 2024-05-10 12:32:57 +0300 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2024-07-03 09:40:24 +0300 |
commit | b13e9f6da4cc34240dae05418b9876b2758ebe35 (patch) | |
tree | 9966d9f3841be8458ba1b34092a289186b6fb910 /tools/objtool | |
parent | c02904f05ff805d6c0631634d5751ebd338f75ec (diff) | |
download | linux-b13e9f6da4cc34240dae05418b9876b2758ebe35.tar.xz |
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>
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/builtin-check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/objtool/builtin-check.c b/tools/objtool/builtin-check.c index 5e21cfb7661d..387d56a7f5fb 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; } |