support/scripts/pkg-stats: drop unused --cpeid option
The --cpeid option was mistakenly introduced by commit
92e7089a8c ("support/script/pkg-stats:
show CPE ID in results") but is in fact not necessary.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
@@ -1052,7 +1052,6 @@ def parse_args():
|
|||||||
help='List of packages (comma separated)')
|
help='List of packages (comma separated)')
|
||||||
parser.add_argument('--nvd-path', dest='nvd_path',
|
parser.add_argument('--nvd-path', dest='nvd_path',
|
||||||
help='Path to the local NVD database', type=resolvepath)
|
help='Path to the local NVD database', type=resolvepath)
|
||||||
parser.add_argument("--cpeid", action='store_true')
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if not args.html and not args.json:
|
if not args.html and not args.json:
|
||||||
parser.error('at least one of --html or --json (or both) is required')
|
parser.error('at least one of --html or --json (or both) is required')
|
||||||
|
|||||||
Reference in New Issue
Block a user