HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by sneak | Hacker News Reader
Parent
Full thread
sneak
·
Why is “./script.sh -h” better than “less script.sh”?
View on HN
soraminazuki
·
If you use zsh, you can use the help output to generate completions for your own scripts.
https://github.com/zsh-users/zsh-completions/blob/master/zsh...
mttpgn
·
I just spent three days explaining a bash script I authored to a tech lead who "doesn't know bash that well". If I had written in more help messages I probably could have preserved more of my time.
Reply on news.ycombinator.com