diff --git a/cmd/flux/stats.go b/cmd/flux/stats.go index 0181ffab3b..fbb9a66f0b 100644 --- a/cmd/flux/stats.go +++ b/cmd/flux/stats.go @@ -42,6 +42,7 @@ import ( var statsCmd = &cobra.Command{ Use: "stats", + Args: cobra.NoArgs, Short: "Stats of Flux reconciles", 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`),