flag for txt by default

This commit is contained in:
Antoni Sawicki 2024-06-22 15:18:03 -07:00
parent da524ff275
commit abea41f498

2
wrp.go
View File

@ -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")