diff options
Diffstat (limited to 'poky/scripts/cve-json-to-text.py')
-rwxr-xr-x | poky/scripts/cve-json-to-text.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/poky/scripts/cve-json-to-text.py b/poky/scripts/cve-json-to-text.py index 87a5669987..8d309b37e5 100755 --- a/poky/scripts/cve-json-to-text.py +++ b/poky/scripts/cve-json-to-text.py @@ -48,13 +48,12 @@ def parse_args(argv): except getopt.GetoptError: show_syntax_and_exit(1) for opt, arg in opts: - if opt in ("-h", "--help"): + if opt in ("-h"): show_syntax_and_exit(0) - elif opt in ("-a", "--all"): - show_all = True - show_unknown = True - elif opt in ("-i", "--input"): + elif opt in ("-i"): infile = arg + elif opt in ("-o"): + outfile = arg def load_json(filename): """ |