rename resize limit env

This commit is contained in:
Umputun
2018-06-30 11:31:49 -05:00
parent 43bd6c08f1
commit 60879e8c42
+1 -1
View File
@@ -86,7 +86,7 @@ type AvatarGroup struct {
FS struct {
Path string `long:"path" env:"PATH" default:"./var/avatars" description:"avatars location"`
} `group:"fs" namespace:"fs" env-namespace:"FS"`
RszLmt int `long:"rsz-lmt" env:"RSZ_LMT" default:"0" description:"max image size for resizing avatars on save"`
RszLmt int `long:"rsz-lmt" env:"RESIZE" default:"0" description:"max image size for resizing avatars on save"`
}
// CacheGroup defines options group for cache params