Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 513 Bytes

04052023.md

File metadata and controls

18 lines (16 loc) · 513 Bytes
  1. 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
}