diff --git a/cmd/tk/delete.go b/cmd/tk/delete.go index 61fa99c0..66cc2518 100644 --- a/cmd/tk/delete.go +++ b/cmd/tk/delete.go @@ -14,7 +14,7 @@ var ( ) func init() { - deleteCmd.PersistentFlags().BoolVarP(&deleteSilent, "silent", "", false, + deleteCmd.PersistentFlags().BoolVarP(&deleteSilent, "silent", "s", false, "delete resource without asking for confirmation") rootCmd.AddCommand(deleteCmd) diff --git a/cmd/tk/uninstall.go b/cmd/tk/uninstall.go index 85adaee6..b01cbb2e 100644 --- a/cmd/tk/uninstall.go +++ b/cmd/tk/uninstall.go @@ -34,7 +34,7 @@ func init() { "removes all CRDs previously installed") uninstallCmd.Flags().BoolVarP(&uninstallDryRun, "dry-run", "", false, "only print the object that would be deleted") - uninstallCmd.Flags().BoolVarP(&uninstallSilent, "silent", "", false, + uninstallCmd.Flags().BoolVarP(&uninstallSilent, "silent", "s", false, "delete components without asking for confirmation") rootCmd.AddCommand(uninstallCmd)