mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
fix usage descriptions
This commit is contained in:
@@ -33,8 +33,8 @@ func main() {
|
|||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "log-level",
|
Name: "log-level",
|
||||||
Value: "debug",
|
Value: "info",
|
||||||
Usage: "set log level to DEBUG",
|
Usage: "set log level",
|
||||||
Validator: func(level string) error {
|
Validator: func(level string) error {
|
||||||
levels := []string{"debug", "info", "warn", "error"}
|
levels := []string{"debug", "info", "warn", "error"}
|
||||||
if !slices.Contains(levels, level) {
|
if !slices.Contains(levels, level) {
|
||||||
|
|||||||
Reference in New Issue
Block a user