From ba165eb68cd236027ef49165083917e2c0b27a46 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Fri, 6 Mar 2020 20:15:46 +0100 Subject: [PATCH] [BUGFIX] Transparency of 0 as default is stupid, let's fix it. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8774a3a..d2857b0 100644 --- a/main.go +++ b/main.go @@ -185,7 +185,7 @@ var ( png = app.Flag("png", "Download a weather PNG image").Short('P').Default("false").Bool() addFrame = app.Flag("add-frame", "Add a frame to the output (PNG only)").Short('p').Default("false").Bool() - transparency = app.Flag("transparency", "Set transparency level (0-255) (PNG only) (--expert-mode)").OverrideDefaultFromEnvar("GO_CMW_TRANSPARENCY").Short('t').Default("0").Int() + transparency = app.Flag("transparency", "Set transparency level (0-255) (PNG only) (--expert-mode)").OverrideDefaultFromEnvar("GO_CMW_TRANSPARENCY").Short('t').Default("255").Int() download = app.Flag("download", "Enables download mode (--expert-mode)").Short('d').Default("false").Bool() fileName = app.Flag("file-name", "Name download file (--expert-mode)").OverrideDefaultFromEnvar("GO_CMW_FILE_NAME").Default("").String() oneLiner = app.Flag("one-liner", "One liner outpet (for the terminal multiplexer lovers out there)").Short('O').Default("false").Bool()