mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-25 09:01:48 +00:00
Merge pull request #4558 from twinguy/detect-bad-args-check-command
`flux check` should error on unrecognised args
This commit is contained in:
commit
cdbad4d946
1 changed files with 1 additions and 0 deletions
|
|
@ -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.`),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue