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 d2cda7eb9e
commit 1a35256053

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]"