1
0
mirror of synced 2026-03-01 11:16:56 +00:00

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

View File

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