aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-05-31 11:34:38 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-05-31 11:34:38 +0200
commit1924f2f4ab1504aa6a8bdc8b07c25ae58ca18d3a (patch)
treeff0e700fdf69597e83eb9425a0d1b513854fd19f
parentbdc7376df4b3116ecd2b5576d1bf2e26ff7878ed (diff)
downloadnixcfg-1924f2f4ab1504aa6a8bdc8b07c25ae58ca18d3a.tar.gz
nixcfg-1924f2f4ab1504aa6a8bdc8b07c25ae58ca18d3a.zip
sshtool: improve usage message
-rwxr-xr-xsshtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshtool b/sshtool
index 474cb6d..0cbf1dc 100755
--- a/sshtool
+++ b/sshtool
@@ -13,7 +13,7 @@ CMDFILE=./$(basename $CMDFILE)
CLUSTER="$1"
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/"
exit 1
fi