Rework step options handling
This commit is contained in:
@@ -27,11 +27,11 @@ step_3() {
|
||||
}
|
||||
|
||||
step_5_info() {
|
||||
echoinfoArgs "[OPTIONS] <USER@HOST> [PORT]"
|
||||
echo "Send key to remote host"
|
||||
echoinfo "[OPTIONS]"
|
||||
echoinfo " -4 : Force Ipv4"
|
||||
}
|
||||
step_5_options() { echo "[OPTIONS] <USER@HOST> [PORT]"; }
|
||||
step_5_alias() { echo "sendkey"; }
|
||||
step_5() {
|
||||
shift
|
||||
@@ -71,10 +71,10 @@ step_5() {
|
||||
}
|
||||
|
||||
step_10_info() {
|
||||
echoinfoArgs "<CMDLIST> [USER:HOST] [PORT]"
|
||||
echo "Send command(ssh)/file(scp) list to remote(s)"
|
||||
echoinfo "[USER:HOST] and [PORT] are overwritten by \"host\" command from <CMDLIST>"
|
||||
}
|
||||
step_10_options() { echo "<CMDLIST> [USER:HOST] [PORT]"; }
|
||||
step_10_alias() { echo "sendlist"; }
|
||||
step_10() {
|
||||
shift
|
||||
|
Reference in New Issue
Block a user