mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 06:25:37 +03:00
analyze: correctly mention that --json= is also understood by inspect-elf
This commit is contained in:
parent
bb7031bcaa
commit
c0f65909cb
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user