3 ms·
Here's a handy shell script to show only the options from a command's man page: showoptions() { man -s 1 "$*" |col -bx |awk '/^[ ]*-/,/^$/' |less }
by wpollock 8mo ago
Here's a handy shell script to show only the options from a command's man page:
showoptions() {
man -s 1 "$*" |col -bx |awk '/^[ ]*-/,/^$/' |less
}
(Won't work for every man page, but most of them where options start with a dash.)
Enjoy!