detect unexpected args in flux stats command
Signed-off-by: Kenny Meador <kenny.meador@outlook.com>
(cherry picked from commit 1a0d931ab5)
This commit is contained in:
committed by
github-actions[bot]
parent
c631a76250
commit
148e4015e5
@@ -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