detect unexpected args in flux stats command

Signed-off-by: Kenny Meador <kenny.meador@outlook.com>
pull/4557/head
Kenny Meador 12 months ago
parent 779156cf9a
commit 1a0d931ab5
No known key found for this signature in database
GPG Key ID: 2F468453358294C4

@ -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…
Cancel
Save