Skip to content
Snippets Groups Projects
Commit 9069a65a authored by stefanprodan's avatar stefanprodan
Browse files

Add -s alias for silent arg

parent 8c0c2be0
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ var ( ...@@ -14,7 +14,7 @@ var (
) )
func init() { func init() {
deleteCmd.PersistentFlags().BoolVarP(&deleteSilent, "silent", "", false, deleteCmd.PersistentFlags().BoolVarP(&deleteSilent, "silent", "s", false,
"delete resource without asking for confirmation") "delete resource without asking for confirmation")
rootCmd.AddCommand(deleteCmd) rootCmd.AddCommand(deleteCmd)
......
...@@ -34,7 +34,7 @@ func init() { ...@@ -34,7 +34,7 @@ func init() {
"removes all CRDs previously installed") "removes all CRDs previously installed")
uninstallCmd.Flags().BoolVarP(&uninstallDryRun, "dry-run", "", false, uninstallCmd.Flags().BoolVarP(&uninstallDryRun, "dry-run", "", false,
"only print the object that would be deleted") "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") "delete components without asking for confirmation")
rootCmd.AddCommand(uninstallCmd) rootCmd.AddCommand(uninstallCmd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment