`-help` does not output help text before `stdin` closes.
Closed this issue · 2 comments
utdemir commented
$ chart -help
# waits for stdin
^C
but,
$ echo | chart -help
-date-format string
Sets the date format, according to https://golang.org/src/time/format.go.
-debug
Use to make sure to double-check the chart is showing what you expect.
-h Show help.
-help
Show help.
...
I expect -help
to show help immediately without waiting for stdin
.
marianogappa commented
Thanks for the issue report! Could you go get -u github.com/marianogappa/chart
and validate if the fix works for you? Cheers.
utdemir commented
@marianogappa It works, thank you :).