mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
detect unexpected args in flux stats command
Signed-off-by: Kenny Meador <kenny.meador@outlook.com>
This commit is contained in:
parent
779156cf9a
commit
1a0d931ab5
1 changed files with 1 additions and 0 deletions
|
|
@ -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`),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue