diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-12-20 17:26:54 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-12-20 17:26:54 +0100 |
commit | d1317d8ab1013ff47b29e86e01b9f0eae0046116 (patch) | |
tree | e439f7c396e5125d4c928f14319c2067ba53cf1c | |
parent | 6597bb4899b671a160776d48149b048f91892388 (diff) | |
download | ltask-dev.tar.gz |
-rwxr-xr-x | ltask | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -73,6 +73,7 @@ Options: to target single hosts without defining a custom target -p Force parallel execution + -i specify a SSH identity file. This is overridden by tasks! -h print this help text -d DIR specify a different folder containing "tasks", "targets", and "assets" EOF @@ -100,6 +101,10 @@ for (( i=0; i < $ARGC;i++ )); do -d) i=$((i+1)) BASEDIR="${ARGV[$i]}";; + -i) + i=$((i+1)) + SSH_IDENTITY_FILE="${ARGV[$i]}";; + *) echo Invalid Argument ${ARGV[$i]} echo $0 -h for help |