Changing default value of monitor to true.

This commit is contained in:
Renan DelValle 2020-09-30 16:46:14 -07:00
parent deaddd2953
commit d5d19cf448
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ import (
func init() { func init() {
rootCmd.AddCommand(createCmd) 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{ var createCmd = &cobra.Command{

View file

@ -30,7 +30,7 @@ func init() {
killJobCmd.Flags().StringVarP(env, "environment", "e", "", "Aurora Environment") killJobCmd.Flags().StringVarP(env, "environment", "e", "", "Aurora Environment")
killJobCmd.Flags().StringVarP(role, "role", "r", "", "Aurora Role") killJobCmd.Flags().StringVarP(role, "role", "r", "", "Aurora Role")
killJobCmd.Flags().StringVarP(name, "name", "n", "", "Aurora Name") 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("environment")
killJobCmd.MarkFlagRequired("role") killJobCmd.MarkFlagRequired("role")
killJobCmd.MarkFlagRequired("name") killJobCmd.MarkFlagRequired("name")