args print with %q

This commit is contained in:
Antoni Sawicki 2020-04-27 12:29:18 -07:00
parent 4d911cb330
commit c64380dd72
1 changed files with 1 additions and 1 deletions

2
wrp.go
View File

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