Skip to content

Commit

Permalink
Rename idle param for ease
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
  • Loading branch information
michaelmdresser committed Feb 12, 2024
1 parent e8c4980 commit 2a83ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type CostOptions struct {
func addCostOptionsFlags(cmd *cobra.Command, options *CostOptions) {
cmd.Flags().StringVar(&options.window, "window", "1d", "The window of data to query. See https://github.com/kubecost/docs/blob/master/allocation.md#querying for a detailed explanation of what can be passed here.")
cmd.Flags().BoolVar(&options.isHistorical, "historical", false, "show the total cost during the window instead of the projected monthly rate based on the data in the window")
cmd.Flags().BoolVar(&options.includeIdle, "include-idle", true, "include the __idle__ cost row in the response")
cmd.Flags().BoolVar(&options.includeIdle, "idle", true, "include the __idle__ cost row in the response")

query.AddQueryBackendOptionsFlags(cmd, &options.QueryBackendOptions)
}
Expand Down

0 comments on commit 2a83ad1

Please sign in to comment.