Properly detect unexpected arguments

Signed-off-by: Kenny Meador <kenny.meador@outlook.com>
(cherry picked from commit 145fd1c2f2)
pull/4555/head
Kenny Meador 1 year ago committed by github-actions[bot]
parent 93c127f8e7
commit 9d04f9147c

@ -30,6 +30,7 @@ import (
var uninstallCmd = &cobra.Command{
Use: "uninstall",
Args: cobra.NoArgs,
Short: "Uninstall Flux and its custom resource definitions",
Long: `The uninstall command removes the Flux components and the toolkit.fluxcd.io resources from the cluster.`,
Example: ` # Uninstall Flux components, its custom resources and namespace

Loading…
Cancel
Save