Skip to content

Commit

Permalink
And thats why you enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Huanca committed Mar 29, 2019
1 parent c445f33 commit 17e6f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func init() {
rootCmd.PersistentFlags().StringVarP(&nodeLabels, "node-labels", "", "", "labels to filter nodes with")
rootCmd.PersistentFlags().StringVarP(&namespaceLabels, "namespace-labels", "n", "", "labels to filter namespaces with")
rootCmd.PersistentFlags().StringVarP(&kubeContext, "context", "", "", "context to use for Kubernetes config")
rootCmd.PersistentFlags().StringVarP(&outputFormat, "output", "o", "text", fmt.Sprintf("output format for information (supports: %v)", capacity.SupportedOutputs()))
rootCmd.PersistentFlags().StringVarP(&outputFormat, "output", "o", capacity.TableOutput, fmt.Sprintf("output format for information (supports: %v)", capacity.SupportedOutputs()))
}

// Execute is the primary entrypoint for this CLI
Expand Down

0 comments on commit 17e6f64

Please sign in to comment.