mirror of
https://git.yoctoproject.org/poky-contrib
synced 2025-05-07 23:23:32 +08: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)
|
||||
elif opt in ("-i"):
|
||||
infile = arg
|
||||
elif opt in ("-o"):
|
||||
outfile = arg
|
||||
|
||||
def load_json(filename):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user