1
0
mirror of synced 2026-03-17 00:26:57 +00:00

Merge pull request #4557 from twinguy/main

`flux stats` should error on unrecognised args
This commit is contained in:
Stefan Prodan
2024-01-23 09:01:00 +02:00
committed by GitHub

View File

@@ -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`),