fix for bug 4202: parse the rcons -help and rcons --help

This commit is contained in:
ligc 2014-07-28 17:01:19 -05:00
parent 4d5102b346
commit af1a4d62f9

View File

@ -13,7 +13,7 @@ if [ "$os" == "AIX" ]; then
export HOME
fi
if [ -z "$1" ] || [ "$1" = "-h" ]; then
if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ]; then
echo "rcons - remotely accesses the serial console of a node"
echo "rcons <singlenode> [conserver] [-f]"
echo "rcons <singlenode> [conserver] [-s]"