options:
```
+ -D
+ allow generated directory indexes
+
-F string
- footer page to append to generated pages
+ footer file to append to generated pages
-H string
- header page to prepend to generated pages
+ header file to prepend to generated pages
-I string
directory index page (default "index.goph")
+ -L string
+ write log to file; empty for stderr
+
-c string
configuration file
show this help page
-i string
- interface to bind to (default "localhost")
-
- -l
- allow directory listings
+ interface to bind to; empty for any (default "localhost")
-p string
TCP port to listen on (default "7070")
-t int
connection read/write timeout in seconds (default 60)
- -L string
- write log to file; empty for stderr
-
-v
produce verbose output
```
flag.BoolVar(&help, "h", help, "show this help page")
flag.BoolVar(&cfg.fsymln, "s", cfg.fsymln, "follow symbolic links")
flag.BoolVar(&cfg.showdot, "d", cfg.showdot, "allow access to dotfiles")
- flag.BoolVar(&cfg.indexes, "l", cfg.indexes, "allow generated directory indexes")
+ flag.BoolVar(&cfg.indexes, "D", cfg.indexes, "allow generated directory indexes")
flag.IntVar(&cfg.timeout, "t", cfg.timeout, "connection read/write timeout in seconds")
flag.StringVar(&cfg.logfile, "L", cfg.logfile, "write log to file; empty for stderr")
flag.BoolVar(&cfg.verbose, "v", cfg.verbose, "produce verbose output")