mirror of
https://github.com/fluxcd/flux2.git
synced 2025-10-30 07:47:09 +08:00
Merge pull request #4553 from twinguy/main
Properly detect unexpected arguments during uninstall
This commit is contained in:
@ -30,6 +30,7 @@ import (
|
|||||||
|
|
||||||
var uninstallCmd = &cobra.Command{
|
var uninstallCmd = &cobra.Command{
|
||||||
Use: "uninstall",
|
Use: "uninstall",
|
||||||
|
Args: cobra.NoArgs,
|
||||||
Short: "Uninstall Flux and its custom resource definitions",
|
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.`,
|
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
|
Example: ` # Uninstall Flux components, its custom resources and namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user