Help text doesn't list all Flags option (source, tabs and browser)
Bunchhieng opened this issue · 3 comments
Bunchhieng commented
Current help text:
$ go run main.go
NAME:
hnreader - Open multiple news feed in your favorite browser with command line.
USAGE:
main [global options] command [command options] [arguments...]
VERSION:
v1.1
AUTHOR:
Bunchhieng Soth <Bunchhieng@gmail.com>
COMMANDS:
run, r Start hnreader with default option (10 news and chrome browser)
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
zpeters commented
I will look at this
zpeters commented
In looking at the code, i think it is the behavior is correct. To see the additional help the command syntax is hnreader help run
, this will show the tabs, browser and source options. i think this is what you want
Bunchhieng commented
ah that's right. I remember digging through the cli project to show this. good catch. will close this issue. Thanks for investigating. @zpeters