analyze: correctly mention that --json= is also understood by inspect-elf

This commit is contained in:
Lennart Poettering
2022-02-02 03:55:51 +09:00
committed by Yu Watanabe
parent bb7031bcaa
commit c0f65909cb
+1 -1
View File
@@ -2771,7 +2771,7 @@ static int parse_argv(int argc, char *argv[]) {
if (arg_json_format_flags != JSON_FORMAT_OFF && !STRPTR_IN_SET(argv[optind], "security", "inspect-elf"))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"Option --json= is only supported for security right now.");
"Option --json= is only supported for security and inspect-elf right now.");
if (arg_threshold != 100 && !streq_ptr(argv[optind], "security"))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),