diff options
Diffstat (limited to 'scripts/cve-json-to-text.py')
-rwxr-xr-x | scripts/cve-json-to-text.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/cve-json-to-text.py b/scripts/cve-json-to-text.py index 87a5669987..a2eb592f5f 100755 --- a/scripts/cve-json-to-text.py +++ b/scripts/cve-json-to-text.py | |||
@@ -48,12 +48,9 @@ def parse_args(argv): | |||
48 | except getopt.GetoptError: | 48 | except getopt.GetoptError: |
49 | show_syntax_and_exit(1) | 49 | show_syntax_and_exit(1) |
50 | for opt, arg in opts: | 50 | for opt, arg in opts: |
51 | if opt in ("-h", "--help"): | 51 | if opt in ("-h"): |
52 | show_syntax_and_exit(0) | 52 | show_syntax_and_exit(0) |
53 | elif opt in ("-a", "--all"): | 53 | elif opt in ("-i"): |
54 | show_all = True | ||
55 | show_unknown = True | ||
56 | elif opt in ("-i", "--input"): | ||
57 | infile = arg | 54 | infile = arg |
58 | 55 | ||
59 | def load_json(filename): | 56 | def load_json(filename): |