Skip to content

Commit

Permalink
Fix broken hypervisor after merging
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Jan 24, 2020
1 parent 05f61af commit 9153540
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/hypervisor/commands/gen-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ func init() {
outputUsage := "path of output config file. Uses default of 'type' flag if unspecified."
replaceUsage := "whether to allow rewrite of a file that already exists."
configLocTypeUsage := fmt.Sprintf("config generation mode. Valid values: %v", pathutil.AllConfigLocationTypes())
testEnv := "whether to use production or test deployment service."

rootCmd.AddCommand(genConfigCmd)
genConfigCmd.Flags().StringVarP(&output, "output", "o", "", "path of output config file. Uses default of 'type' flag if unspecified.")
genConfigCmd.Flags().BoolVarP(&replace, "replace", "r", false, "whether to allow rewrite of a file that already exists.")
genConfigCmd.Flags().VarP(&configLocType, "type", "m", fmt.Sprintf("config generation mode. Valid values: %v", pathutil.AllConfigLocationTypes()))
genConfigCmd.Flags().BoolVarP(&testenv, "testing-environment", "t", false, "whether to use production or test deployment service.")
genConfigCmd.Flags().StringVarP(&output, "output", "o", "", outputUsage)
genConfigCmd.Flags().BoolVarP(&replace, "replace", "r", false, replaceUsage)
genConfigCmd.Flags().VarP(&configLocType, "type", "m", configLocTypeUsage)
genConfigCmd.Flags().BoolVarP(&testenv, "testing-environment", "t", false, testEnv)
}

// nolint:gochecknoglobals
Expand Down

0 comments on commit 9153540

Please sign in to comment.