]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: correctly mention that --json= is also understood by inspect-elf
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Feb 2022 16:37:19 +0000 (17:37 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 1 Feb 2022 18:55:51 +0000 (03:55 +0900)
src/analyze/analyze.c

index a1908ff442ae1ff619fc70b45ccec270c4314d1f..456a43c8fc9f924c91c46790cdd608941fc90b44 100644 (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),