From d5d19cf4486648e283cf86eab76ee5467736c725 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Wed, 30 Sep 2020 16:46:14 -0700 Subject: [PATCH] Changing default value of monitor to true. --- cmd/create.go | 2 +- cmd/kill.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/create.go b/cmd/create.go index fd95efc..6ea8b93 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -21,7 +21,7 @@ import ( func init() { rootCmd.AddCommand(createCmd) - createCmd.Flags().BoolVarP(&monitor, "monitor", "m", false, "monitor the result after sending the command") + createCmd.Flags().BoolVarP(&monitor, "monitor", "m", true, "monitor the result after sending the command") } var createCmd = &cobra.Command{ diff --git a/cmd/kill.go b/cmd/kill.go index 0eb46c1..88d1d9f 100644 --- a/cmd/kill.go +++ b/cmd/kill.go @@ -30,7 +30,7 @@ func init() { killJobCmd.Flags().StringVarP(env, "environment", "e", "", "Aurora Environment") killJobCmd.Flags().StringVarP(role, "role", "r", "", "Aurora Role") killJobCmd.Flags().StringVarP(name, "name", "n", "", "Aurora Name") - killJobCmd.Flags().BoolVarP(&monitor, "monitor", "m", false, "monitor the result after sending the command") + killJobCmd.Flags().BoolVarP(&monitor, "monitor", "m", true, "monitor the result after sending the command") killJobCmd.MarkFlagRequired("environment") killJobCmd.MarkFlagRequired("role") killJobCmd.MarkFlagRequired("name")