mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
62e934f038
commit
55fcffc08c
|
@ -52,6 +52,8 @@ def parse_args(argv):
|
||||||
show_syntax_and_exit(0)
|
show_syntax_and_exit(0)
|
||||||
elif opt in ("-i"):
|
elif opt in ("-i"):
|
||||||
infile = arg
|
infile = arg
|
||||||
|
elif opt in ("-o"):
|
||||||
|
outfile = arg
|
||||||
|
|
||||||
def load_json(filename):
|
def load_json(filename):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user