- Show manual help-prompt fot end-user:
# search_pattern.sh
# Usage info:
function show_help() {
cat << EOF
Usage: ${0##*/} [-hov] [-p PATTERN]
Find all server names that match your PATTERN and write the result to standard output.
-h, --help display this help and quit.
-p, --pattern PATTERN select servers by matching input parameter - required
-o, --output print Ansible configuration format.
-v, --version print version information and quit.
EOF
exit 0
}