Skip to content

Commit b6a5608

Browse files
authored
Merge pull request #99 from RedHatProductSecurity/fix-validate-required-params
Fix validate command to not require auth options
2 parents 3a6642c + e55031b commit b6a5608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cvelib/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def parse_args(self, ctx: click.Context, args: list) -> list:
234234
require authentication values.
235235
"""
236236
if any(arg in ctx.help_option_names for arg in args) or any(
237-
arg in ("ping", "show") for arg in args
237+
arg in ("ping", "show", "validate") for arg in args
238238
):
239239
# Iterate over all options and flip them to not required and not to prompt for input.
240240
for param in self.params:

0 commit comments

Comments
 (0)