From 9069a65a978ceb11ea45b6b6f285bd6c93fd5c89 Mon Sep 17 00:00:00 2001
From: stefanprodan <stefan.prodan@gmail.com>
Date: Fri, 1 May 2020 19:45:28 +0300
Subject: [PATCH] Add -s alias for silent arg

---
 cmd/tk/delete.go    | 2 +-
 cmd/tk/uninstall.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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)
-- 
GitLab