Commit b13e9f6d authored by Siddh Raman Pant's avatar Siddh Raman Pant Committed by Josh Poimboeuf
Browse files

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: default avatarSiddh Raman Pant <siddh.raman.pant@oracle.com>
Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
parent c02904f0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}