diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,8 +6,9 @@ import ( "strings" "time" - "go.wit.com/log" + "github.com/alexflint/go-arg" "go.wit.com/lib/gui/shell" + "go.wit.com/log" ) // var accessf, clientf *os.File @@ -54,6 +55,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } func main() { + arg.MustParse(&args) var hostname string = args.Hostname if hostname == "" { |
