Fix listen address flag description
This commit is contained in:
parent
0ab134a364
commit
53229b4d20
2
main.go
2
main.go
@ -38,7 +38,7 @@ func main() {
|
|||||||
flag.StringVar(&imagesDir, "images-dir", "images", "Sets the images dir")
|
flag.StringVar(&imagesDir, "images-dir", "images", "Sets the images dir")
|
||||||
flag.StringVar(&collageDir, "collages-dir", "collages", "Sets the collages dir")
|
flag.StringVar(&collageDir, "collages-dir", "collages", "Sets the collages dir")
|
||||||
flag.BoolVar(&localAssets, "local-assets", false, "Serve local assets for testing")
|
flag.BoolVar(&localAssets, "local-assets", false, "Serve local assets for testing")
|
||||||
flag.StringVar(&listenAddr, "addr", "127.0.0.1:8767", "Sets the collages dir")
|
flag.StringVar(&listenAddr, "addr", "127.0.0.1:8767", "Web listen address, see https://pkg.go.dev/go.balki.me/anyhttp#readme-address-syntax")
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user