diff --git a/cmd/flux/uninstall.go b/cmd/flux/uninstall.go index 0128a83312..d82077eab4 100644 --- a/cmd/flux/uninstall.go +++ b/cmd/flux/uninstall.go @@ -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