diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 2a3d8a78a8..d9ecb45c3f 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1087,7 +1087,7 @@ def parse_args(): parser.add_argument('--nvd-path', dest='nvd_path', help='Path to the local NVD database', type=resolvepath) parser.add_argument('--disable', type=list_str, - help='Features to disable, comma-separated (cve, upstream, url)', + help='Features to disable, comma-separated (cve, upstream, url, cpe)', default=[]) args = parser.parse_args() if not args.html and not args.json: @@ -1146,6 +1146,8 @@ def __main__(): if "cve" not in args.disable and args.nvd_path: print("Checking packages CVEs") check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") check_package_cpes(args.nvd_path, packages) print("Calculate stats") stats = calculate_stats(packages)