From f7cd8caa617fb14c5b143901f9179f87ff4bff52 Mon Sep 17 00:00:00 2001 From: John Mileham Date: Mon, 12 Aug 2019 13:00:08 -0400 Subject: [PATCH 1/2] Fix copypasta in destroy docs --- cmds/destroy_feature_completion.go | 2 +- cmds/destroy_remote_kill.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmds/destroy_feature_completion.go b/cmds/destroy_feature_completion.go index 654d4dc..c1a30fe 100644 --- a/cmds/destroy_feature_completion.go +++ b/cmds/destroy_feature_completion.go @@ -21,7 +21,7 @@ field for customers to use. func init() { destroyFeatureCompletionCmd.Flags().BoolVar(&noPrefix, "no-prefix", false, "Don't prefix feature gate with app_name to refer to legacy splits") - destroyFeatureCompletionCmd.Flags().BoolVar(&force, "force", false, "Force creation if feature gate isn't found in schema, e.g. if split is retired") + destroyFeatureCompletionCmd.Flags().BoolVar(&force, "force", false, "Force destruction of feature completion if feature gate isn't found in schema, e.g. if split is retired") destroyCmd.AddCommand(destroyFeatureCompletionCmd) } diff --git a/cmds/destroy_remote_kill.go b/cmds/destroy_remote_kill.go index 83442a5..e7afb4c 100644 --- a/cmds/destroy_remote_kill.go +++ b/cmds/destroy_remote_kill.go @@ -19,12 +19,12 @@ testtrack destroy remote_kill my_fancy_experiment func init() { destroyRemoteKillCmd.Flags().BoolVar(&noPrefix, "no-prefix", false, "Don't prefix split with app_name to refer to legacy splits") - destroyRemoteKillCmd.Flags().BoolVar(&force, "force", false, "Force creation if split isn't found in schema, e.g. if split is retired") + destroyRemoteKillCmd.Flags().BoolVar(&force, "force", false, "Force destruction of remote_kill if split isn't found in schema, e.g. if split is retired") destroyCmd.AddCommand(destroyRemoteKillCmd) } var destroyRemoteKillCmd = &cobra.Command{ - Use: "remote_kill split_name reason override_to first_bad_version [fixed_version]", + Use: "remote_kill split_name reason", Short: "Remove a split remote-kill for a range of app versions", Long: destroyRemoteKillDoc, Args: cobra.ExactArgs(2), From eebdc8aaa0bada00f493d226fec9476809a5e08f Mon Sep 17 00:00:00 2001 From: John Mileham Date: Mon, 12 Aug 2019 13:01:05 -0400 Subject: [PATCH 2/2] Bump version - 1.0.2 fixes buggy documentation on destroy commands --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ce13e3..9da7419 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL = /bin/sh -VERSION=1.0.1 +VERSION=1.0.2 BUILD=`git rev-parse HEAD` LDFLAGS=-ldflags "-w -s \