#!/bin/sh display_help() { cat << "end-of-help-text" /*--- Start of help text ------------------------------------------------------ here goes your description. add as many line as you need use empty lines to structure the help text there is no meaning in the first and last line looking as if they where comment line. they are simply optical separates I chose. --- End of help text --------------------------------------------------------*/ end-of-help-text # DO NOT CHANGE the previous, this and the next 2 lines marking the # end of the "display_help" function } # End of function "display_help" if test -z "$1" then echo "Error: Parameter 1 is missing." display_help exit 1 fi