Skip to content

Commit

Permalink
Merge pull request #99 from RedHatProductSecurity/fix-validate-requir…
Browse files Browse the repository at this point in the history
…ed-params

Fix validate command to not require auth options
  • Loading branch information
mprpic authored Dec 6, 2024
2 parents 3a6642c + e55031b commit b6a5608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvelib/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def parse_args(self, ctx: click.Context, args: list) -> list:
require authentication values.
"""
if any(arg in ctx.help_option_names for arg in args) or any(
arg in ("ping", "show") for arg in args
arg in ("ping", "show", "validate") for arg in args
):
# Iterate over all options and flip them to not required and not to prompt for input.
for param in self.params:
Expand Down

0 comments on commit b6a5608

Please sign in to comment.