Merge pull request #4559 from fluxcd/backport-4557-to-release/v2.2.x
[release/v2.2.x] `flux stats` should error on unrecognised args
This commit is contained in:
@@ -42,6 +42,7 @@ import (
|
|||||||
|
|
||||||
var statsCmd = &cobra.Command{
|
var statsCmd = &cobra.Command{
|
||||||
Use: "stats",
|
Use: "stats",
|
||||||
|
Args: cobra.NoArgs,
|
||||||
Short: "Stats of Flux reconciles",
|
Short: "Stats of Flux reconciles",
|
||||||
Long: withPreviewNote(`The stats command prints a report of Flux custom resources present on a cluster,
|
Long: withPreviewNote(`The stats command prints a report of Flux custom resources present on a cluster,
|
||||||
including their reconcile status and the amount of cumulative storage used for each source type`),
|
including their reconcile status and the amount of cumulative storage used for each source type`),
|
||||||
|
|||||||
Reference in New Issue
Block a user