Skip to content

Commit

Permalink
labels flag default eq false
Browse files Browse the repository at this point in the history
  • Loading branch information
femrtnz committed Sep 27, 2024
1 parent 59e6faf commit ab3d6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewFromFlags() (*Config, error) {
flag.StringVarP(&config.OutputFile, "output-file", "O", "-", "output file, use - for stdout")
flag.VarP(&config.LogLevel, "log-level", "l", "set log level (trace, debug, info, warn, error, fatal, panic, disabled)")
flag.VarP(config.TargetVersion, "target-version", "t", "target K8s version in SemVer format (autodetected by default)")
flag.BoolVar(&config.Labels, "labels", true, "print resource labels")
flag.BoolVar(&config.Labels, "labels", false, "print resource labels")

flag.Parse()

Expand Down

0 comments on commit ab3d6cb

Please sign in to comment.