From f2e43844bf47557b937c042c4e08839de3bafeed Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 27 May 2020 22:02:57 +0200 Subject: fixed help text --- ltask | 7 ++++++- tools/rexec.sh | 2 +- 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: -- cgit v1.2.3