Skip to content

Commit

Permalink
Minors
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Jan 16, 2024
1 parent bf582a5 commit 7f42e6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/aem/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (c *CLI) rootFlags(cmd *cobra.Command) {
cmd.PersistentFlags().String("output-format", cv.GetString("output.format"), "Controls output format ("+strings.Join(cfg.OutputFormats(), "|")+")")
_ = cv.BindPFlag("output.format", cmd.PersistentFlags().Lookup("output-format"))

cmd.PersistentFlags().String("output-query", cv.GetString("output.query"), "JMESPath query to filter output (for JSON and YAML format only)")
cmd.PersistentFlags().String("output-query", cv.GetString("output.query"), "Filters output using JMESPath query (only JSON and YML formats)")
_ = cv.BindPFlag("output.query", cmd.PersistentFlags().Lookup("output-query"))

cmd.PersistentFlags().String("output-log-file", cv.GetString("output.log.file"), "Controls output file path")
Expand Down
2 changes: 1 addition & 1 deletion pkg/cfg/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (c *Config) setDefaults() {
v.SetDefault("output.value", common.OutputValueAll)
v.SetDefault("output.log.file", common.LogFile)
v.SetDefault("output.log.mode", OutputLogConsole)
v.SetDefault("output.query", "@")
v.SetDefault("output.query", "")

v.SetDefault("java.home_dir", "")
v.SetDefault("java.version_constraints", ">= 11, < 12")
Expand Down

0 comments on commit 7f42e6c

Please sign in to comment.