diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-04-25 15:40:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-29 09:59:01 +0100 |
commit | 55fcffc08c85d4a81d24fefbfebd640323d0e664 (patch) | |
tree | 60c069b662ddbdba9ec8e95dfeb7e8f9657b9b41 /scripts/cve-json-to-text.py | |
parent | 62e934f0380cacf873cae170f61333f5bd4ae4f6 (diff) | |
download | poky-55fcffc08c85d4a81d24fefbfebd640323d0e664.tar.gz |
scripts/cve-json-to-text.py: fix missing -o option
Add the missing condition on '-o', which allows changing the output
path.
(From OE-Core rev: f9a176a8a36524a68a3ff98f157357303093382f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/cve-json-to-text.py')
-rwxr-xr-x | scripts/cve-json-to-text.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cve-json-to-text.py b/scripts/cve-json-to-text.py index a2eb592f5f..8d309b37e5 100755 --- a/scripts/cve-json-to-text.py +++ b/scripts/cve-json-to-text.py | |||
@@ -52,6 +52,8 @@ def parse_args(argv): | |||
52 | show_syntax_and_exit(0) | 52 | show_syntax_and_exit(0) |
53 | elif opt in ("-i"): | 53 | elif opt in ("-i"): |
54 | infile = arg | 54 | infile = arg |
55 | elif opt in ("-o"): | ||
56 | outfile = arg | ||
55 | 57 | ||
56 | def load_json(filename): | 58 | def load_json(filename): |
57 | """ | 59 | """ |