Y
Hacker News
new
|
ask
|
show
|
jobs
by
sneak
2167 days ago
Why is “./script.sh -h” better than “less script.sh”?
2 comments
soraminazuki
2167 days ago
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...
link
mttpgn
2167 days ago
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.
link
https://github.com/zsh-users/zsh-completions/blob/master/zsh...