3 ms·
Use: asdf --help 2>&1 | less Even better would it be if programs did it like git and open their own manpage upon --help.
by blueflow 3y ago
Use:
asdf --help 2>&1 | less
Even better would it be if programs did it like git and open their own manpage upon --help.
- fernandotakai 3y agoi just found out in this thread that you can use |& instead for newer bash/zsh versions, which is so much better than trying to remember 2>&1.
- deleted 3y ago[deleted]
- tremon 3y agoOh please no. If I wanted a manpage, I would have typed man git, that's just as easy to type. I use tool --help to get a quick cheat sheet of available options. Opening a man page that I didn't ask for changes my context away from the shell I was working in. Please don't force context switches on unsuspecting users.