From: Lennart Poettering Date: Tue, 1 Feb 2022 16:37:19 +0000 (+0100) Subject: analyze: correctly mention that --json= is also understood by inspect-elf X-Git-Tag: v251-rc1~390 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0f65909cb1d6b42722eaf69acdaecc7c29d7064;p=thirdparty%2Fsystemd.git analyze: correctly mention that --json= is also understood by inspect-elf --- diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index a1908ff442a..456a43c8fc9 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -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),