fix -h and -v message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d668885469
commit
98f191f7b1
@ -1,5 +1,17 @@
|
||||
#!/bin/sh
|
||||
CONSERVER=$2
|
||||
if [ $1 = -h ]; then
|
||||
echo "rcons - remotely accesses the serial console of a node"
|
||||
echo "rcons <singlenode>"
|
||||
echo "rcons [-h|--help|-v|--version]"
|
||||
exit 0
|
||||
fi
|
||||
if [ $1 = -v ]; then
|
||||
echo "Version 2.1"
|
||||
exit 0
|
||||
fi
|
||||
#if [ -z "$CONSERVER" ]; then
|
||||
# CONSERVER=`nodels $1 nodehm.conserver`
|
||||
#if [ -z "$CONSERVER" ]; then
|
||||
# CONSERVER=`nodels $1 nodehm.conserver`
|
||||
#fi
|
||||
|
Loading…
Reference in New Issue
Block a user