Use the attached help() function to automatically generate a help/usage output from function comments.
Example:
$ ./sample.sh
blondie - Call Blondie
help - Print help; use "help NAME" to show details
You may also specify commands:
$ ./sample.sh help blondie
blondie is a function
blondie ()
{
echo 'call me, on the line, call me, call me, call me, anytime, call me'
}