Loading pgpool/configure.sh +12 −2 Original line number Diff line number Diff line Loading @@ -17,12 +17,16 @@ fi TYPE=primary VERBOSE=false CATEGORY=a usage="$(basename "$0") [-h] [-p] [-s] -- Script configure pgpool-II usage="$(basename "$0") [-h] [-p] [-s] [-a|b|c]-- Script configure pgpool-II where: -h show this help text and exit -p configure pgpool as primary -s configure pgpool as standby" -s configure pgpool as standby -a configure pgpool for category A -b configure pgpool for category B -c configure pgpool for category C" while getopts ':psvh' option; do case "$option" in Loading @@ -32,6 +36,12 @@ while getopts ':psvh' option; do ;; v) VERBOSE=true ;; a) CATEGORY=a ;; b) CATEGORY=b ;; c) CATEGORY=c ;; h) echo "$usage" exit ;; Loading Loading
pgpool/configure.sh +12 −2 Original line number Diff line number Diff line Loading @@ -17,12 +17,16 @@ fi TYPE=primary VERBOSE=false CATEGORY=a usage="$(basename "$0") [-h] [-p] [-s] -- Script configure pgpool-II usage="$(basename "$0") [-h] [-p] [-s] [-a|b|c]-- Script configure pgpool-II where: -h show this help text and exit -p configure pgpool as primary -s configure pgpool as standby" -s configure pgpool as standby -a configure pgpool for category A -b configure pgpool for category B -c configure pgpool for category C" while getopts ':psvh' option; do case "$option" in Loading @@ -32,6 +36,12 @@ while getopts ':psvh' option; do ;; v) VERBOSE=true ;; a) CATEGORY=a ;; b) CATEGORY=b ;; c) CATEGORY=c ;; h) echo "$usage" exit ;; Loading