Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit b13e9f6

Browse files
siddhpantjpoimboe
authored andcommitted
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>
1 parent c02904f commit b13e9f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/objtool/builtin-check.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static bool opts_valid(void)
144144
opts.static_call ||
145145
opts.uaccess) {
146146
if (opts.dump_orc) {
147-
ERROR("--dump can't be combined with other options");
147+
ERROR("--dump can't be combined with other actions");
148148
return false;
149149
}
150150

@@ -159,7 +159,7 @@ static bool opts_valid(void)
159159
if (opts.dump_orc)
160160
return true;
161161

162-
ERROR("At least one command required");
162+
ERROR("At least one action required");
163163
return false;
164164
}
165165

0 commit comments

Comments
 (0)