forked from Deuxfleurs/nixcfg
sshtool: improve usage message
This commit is contained in:
parent
bdc7376df4
commit
1924f2f4ab
1 changed files with 1 additions and 1 deletions
2
sshtool
2
sshtool
|
@ -13,7 +13,7 @@ CMDFILE=./$(basename $CMDFILE)
|
||||||
|
|
||||||
CLUSTER="$1"
|
CLUSTER="$1"
|
||||||
if [ -z "$CLUSTER" ] || [ ! -d "cluster/$CLUSTER" ]; then
|
if [ -z "$CLUSTER" ] || [ ! -d "cluster/$CLUSTER" ]; then
|
||||||
echo "Usage: $CMDFILE <cluster name>"
|
echo "Usage: $CMDFILE <cluster name> [host1] [host2] [...]"
|
||||||
echo "The cluster name must be the name of a subdirectory of cluster/"
|
echo "The cluster name must be the name of a subdirectory of cluster/"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue