From 55fcffc08c85d4a81d24fefbfebd640323d0e664 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Fri, 25 Apr 2025 15:40:42 +0200 Subject: [PATCH] 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- scripts/cve-json-to-text.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cve-json-to-text.py b/scripts/cve-json-to-text.py index a2eb592f5fd..8d309b37e59 100755 --- a/scripts/cve-json-to-text.py +++ b/scripts/cve-json-to-text.py @@ -52,6 +52,8 @@ def parse_args(argv): show_syntax_and_exit(0) elif opt in ("-i"): infile = arg + elif opt in ("-o"): + outfile = arg def load_json(filename): """