aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-27 22:02:57 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-27 22:02:57 +0200
commitf2e43844bf47557b937c042c4e08839de3bafeed (patch)
tree0424f1790c23fe022386499ea4019d5a322fae48
parent2692e34e5c38537680ea3d33c762c96bb1112a0e (diff)
downloadltask-f2e43844bf47557b937c042c4e08839de3bafeed.tar.gz
fixed help text
-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: