Merge pull request #4555 from fluxcd/backport-4553-to-release/v2.2.x

[release/v2.2.x] Properly detect unexpected arguments during uninstall
This commit is contained in:
Stefan Prodan 2024-01-22 09:56:22 +02:00 committed by GitHub
commit c631a76250
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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