aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xltask7
-rwxr-xr-xtools/rexec.sh2
2 files changed, 7 insertions, 2 deletions
diff --git a/ltask b/ltask
index 142b375..05300b1 100755
--- a/ltask
+++ b/ltask
@@ -68,9 +68,14 @@ function parse_args() {
}
function print_help() {
- echo << EOF
+ cat << EOF
Usage:
$0 [OPTIONS] TASK TARGET
+Options:
+ -H HOST Add HOST to target hosts. can be used
+ to target single hosts without defining
+ a custom target
+ -h print this help text
EOF
exit $1
}
diff --git a/tools/rexec.sh b/tools/rexec.sh
index 0b54a74..b45410c 100755
--- a/tools/rexec.sh
+++ b/tools/rexec.sh
@@ -65,7 +65,7 @@ function parse_args() {
}
function print_help() {
- echo << EOF
+ cat << EOF
Execute a script on a remote host via SSH
Usage: