Skip to content

Commit

Permalink
set log level to info by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tupyy committed Oct 25, 2023
1 parent c8cfa6c commit 5aeec1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ func init() {
RootCmd.AddCommand(zone.RootCmd)
RootCmd.PersistentFlags().StringVarP(&common.Host, "host", "", "airzone:3000", "airzone host url. Example: 192.168.1.1:3000")
RootCmd.PersistentFlags().IntVarP(&common.SystemID, "system-id", "", 1, "system id")
RootCmd.PersistentFlags().StringP("output", "o", "json", "output style.Acceptes json or table")
RootCmd.PersistentFlags().StringP("log-level", "", "debug", "Log level")
RootCmd.PersistentFlags().StringP("output", "o", "table", "output style.Acceptes json or table")
RootCmd.PersistentFlags().StringP("log-level", "", "info", "Log level")
}

0 comments on commit 5aeec1d

Please sign in to comment.