Skip to content

Commit

Permalink
Add flag to determine if colors should be used (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjohn authored and mergify[bot] committed Jul 10, 2019
1 parent 1ce8701 commit 313e672
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ func init() {
onlyWarnings,
"only show resources using excessive resources",
)
rootCmd.PersistentFlags().BoolVarP(
&color,
"color",
"c",
color,
"show colors for pods using excessive resources",
)
rootCmd.PersistentFlags().StringVarP(
&aggregation,
"by",
Expand Down

0 comments on commit 313e672

Please sign in to comment.