From a564ca54dc01ab9c8f7a941909bfe7b54470e557 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Wed, 8 Nov 2023 12:01:15 -0500 Subject: [PATCH] docs: add formats to help --- log/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/options.go b/log/options.go index d3ee8c52b..ed7776fcf 100644 --- a/log/options.go +++ b/log/options.go @@ -15,7 +15,7 @@ type Options struct { Level string `short:"l" help:"The log level to use" enum:"none,debug,info,warn,error,fatal" default:"none"` Prefix string `help:"Prefix to print before the message"` Structured bool `short:"s" help:"Use structured logging" xor:"format,structured"` - Time string `short:"t" help:"The time format to use" default:""` + Time string `short:"t" help:"The time format to use (kitchen, layout, ansic, rfc822, etc...)" default:""` LevelStyle style.Styles `embed:"" prefix:"level." help:"The style of the level being used" set:"defaultBold=true" envprefix:"GUM_LOG_LEVEL_"` //nolint:staticcheck TimeStyle style.Styles `embed:"" prefix:"time." help:"The style of the time" envprefix:"GUM_LOG_TIME_"`