For a certain extensive BASH script I want to build a help menu, similar like the one you see when you run mplayer --help
for example.
Usage: mplayer [options] [url|path/]filename
Basic options: (complete list in the man page)
-vo <drv> select video output driver ('-vo help' for a list)
-ao <drv> select audio output driver ('-ao help' for a list)
What is the convention for using the different brackets [
, ]
, <
, >
and other characters |
etc? What is the conventional layout of such a menu? How do I explain the user witch options are mandatory?
There is probably a guideline somewhere, but I can not find it.