Make gzip and brotli defaults less confusing

Previously these emitted default twice with -1 value.
This commit is contained in:
Andrew Gaul 2017-10-03 00:14:03 -07:00
parent 22a5e80aae
commit 395220b947
1 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@ var (
user = flag.String("user", "", "proxy user name")
pass = flag.String("pass", "", "proxy password")
brotli = flag.Int("brotli", -1, "Brotli compression level (0-11, default 6)")
brotli = flag.Int("brotli", 6, "Brotli compression level (0-11)")
jpeg = flag.Int("jpeg", 50, "jpeg quality (1-100, 0 to disable)")
gif = flag.Bool("gif", true, "transcode gifs into static images")
gzip = flag.Int("gzip", -1, "gzip compression level (0-9, default 6)")
gzip = flag.Int("gzip", 6, "gzip compression level (0-9)")
png = flag.Bool("png", true, "transcode png")
minify = flag.Bool("minify", false, "minify css/html/js - WARNING: tends to break the web")
)