Skip to content

Commit

Permalink
fix: 🐛 make log-level argument an enum
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Jun 11, 2024
1 parent a0d0dff commit abee169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ var CLI struct {
Version VersionCmd `cmd:"" help:"Show the Go Hass Agent version."`
Profile profileFlags `help:"Enable profiling."`
AppID string `name:"appid" default:"${defaultAppID}" help:"Specify a custom app id (for debugging)."`
LogLevel string `name:"log-level" help:"Set logging level."`
LogLevel string `name:"log-level" enum:"info,debug,trace" default:"info" help:"Set logging level."`
Register RegisterCmd `cmd:"" help:"Register with Home Assistant."`
NoLog noLogFileFlag `help:"Don't write to a log file."`
Headless bool `name:"terminal" help:"Run without a GUI."`
Expand Down

0 comments on commit abee169

Please sign in to comment.