From c64380dd724ab7f61d39545d7c063fc88c28565d Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Mon, 27 Apr 2020 12:29:18 -0700 Subject: [PATCH] args print with %q --- wrp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrp.go b/wrp.go index 8811eb2..28a1051 100644 --- a/wrp.go +++ b/wrp.go @@ -436,7 +436,7 @@ func main() { http.HandleFunc("/shutdown/", haltServer) http.HandleFunc("/favicon.ico", http.NotFound) log.Printf("Web Rendering Proxy Version %s\n", version) - log.Print(os.Args) + log.Printf("Args: %q", os.Args) log.Printf("Default Img Type: %v, Geometry: %+v", deftype, defgeom) log.Printf("Starting WRP http server on %s\n", addr) srv.Addr = addr