rakyll / gom

A visual interface to work with runtime profiling data for Go
Apache License 2.0
1.29k stars 42 forks source link

missing flag.Parse() #3

Closed pierrre closed 9 years ago

pierrre commented 9 years ago

You should add flag.Parse() at the beginning of main(). The flag package doesn't work if you don't call it.

pierrre commented 9 years ago

By the way, godoc uses the -http flag instead of -listen.

rakyll commented 9 years ago

b671756f355ca32207c3a39d0c303922edcd4a97 fixed it. Thanks.

pierrre commented 9 years ago

You can open the browser automatically with https://github.com/pkg/browser