diff --git a/CHANGELOG.md b/CHANGELOG.md index 44efba4..97551af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v4.2.5 (next release) +- `advice validate-status` - parameter `query` is now optional + ## v4.2.4 - Removed unnecessary dependency diff --git a/src/cli/steadybit-advice.ts b/src/cli/steadybit-advice.ts index a5954b1..37b3e27 100644 --- a/src/cli/steadybit-advice.ts +++ b/src/cli/steadybit-advice.ts @@ -13,11 +13,7 @@ program .description('Validates the status of one or multiple advice for a given environment and an optional query.') .addOption(new Option('-e, --environment ', 'The environment name.').makeOptionMandatory(true)) .addOption(new Option('-s, --status ', 'The expected status of the advice.').default('Implemented')) - .addOption( - new Option('-q, --query ', '(optional) A target query to filter advice by targets.').makeOptionMandatory( - true - ) - ) + .addOption(new Option('-q, --query ', '(optional) A target query to filter advice by targets.')) .action(requirePlatformAccess(validateAdviceStatus)); program.parseAsync(process.argv);