Skip to content

Commit

Permalink
Enum'ed Arg
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Jan 18, 2016
1 parent a703067 commit 4920a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func New() *Application {

autoscaleCommand := new(AutoScaleCommand)
autoscaleCommand.ClusterCommand = cap.NewClusterCommand(ctx, "autoscale", "Enable or disable autoscale on a cluster")
autoscaleCommand.Flag("autoscale", "whether autoscale is on or off").EnumVar(&autoscaleCommand.AutoScale, AutoScaleOn, AutoScaleOff)
autoscaleCommand.Arg("autoscale", "whether autoscale is on or off").EnumVar(&autoscaleCommand.AutoScale, AutoScaleOn, AutoScaleOff)
autoscaleCommand.Action(autoscaleCommand.SetAutoScale)

credentialsCommand := cap.NewCredentialsCommand(ctx, "credentials", "download credentials")
Expand Down

0 comments on commit 4920a57

Please sign in to comment.