From abea41f49873738856e657339115a68356ebe2aa Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Sat, 22 Jun 2024 15:18:03 -0700 Subject: [PATCH] flag for txt by default --- wrp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrp.go b/wrp.go index d90990e..46364b9 100644 --- a/wrp.go +++ b/wrp.go @@ -58,7 +58,7 @@ var ( addr = flag.String("l", ":8080", "Listen address:port, default :8080") headless = flag.Bool("h", true, "Headless mode / hide browser window (default true)") noDel = flag.Bool("n", false, "Do not free maps and images after use") - defType = flag.String("t", "gif", "Image type: png|gif|jpg") + defType = flag.String("t", "gif", "Image type: png|gif|jpg|txt") jpgQual = flag.Int("q", 80, "Jpeg image quality, default 80%") fgeom = flag.String("g", "1152x600x216", "Geometry: width x height x colors, height can be 0 for unlimited") htmFnam = flag.String("ui", "wrp.html", "HTML template file for the UI")