Skip to content

Commit

Permalink
Fix buggy documentation on destroy commands (#46)
Browse files Browse the repository at this point in the history
Fix buggy documentation on destroy commands
  • Loading branch information
jmileham authored Aug 12, 2019
2 parents 91efdf9 + eebdc8a commit 4cc560a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL = /bin/sh

VERSION=1.0.1
VERSION=1.0.2
BUILD=`git rev-parse HEAD`

LDFLAGS=-ldflags "-w -s \
Expand Down
2 changes: 1 addition & 1 deletion cmds/destroy_feature_completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
4 changes: 2 additions & 2 deletions cmds/destroy_remote_kill.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4cc560a

Please sign in to comment.