Merge pull request #4567 from fluxcd/backport-4558-to-release/v2.2.x

[release/v2.2.x] `flux check` should error on unrecognised args
This commit is contained in:
Stefan Prodan 2024-01-26 08:53:15 +02:00 committed by GitHub
commit e0bee66876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,7 @@ import (
var checkCmd = &cobra.Command{
Use: "check",
Args: cobra.NoArgs,
Short: "Check requirements and installation",
Long: withPreviewNote(`The check command will perform a series of checks to validate that
the local environment is configured correctly and if the installed components are healthy.`),