From d1bafd2443087b380c9c39728655c90df81eb18b Mon Sep 17 00:00:00 2001 From: joknarf Date: Sat, 6 Jul 2024 16:22:05 +0200 Subject: [PATCH] -l option --- README.md | 2 ++ ssh_para/ssh_para.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9908f9..514df03 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ options: timeout of each job -r, --resolve resolve fqdn in SSHP_DOMAINS -v, --verbose verbose display (fqdn + line for last output)``` + -l, --ls list ssh-para results/log directories + During run, use : * k: to kill ssh command held by a thread (but remote command can still be running on remote host) * p: pause all remaining jobs to be scheduled diff --git a/ssh_para/ssh_para.py b/ssh_para/ssh_para.py index 48bcc3c..c4c7563 100644 --- a/ssh_para/ssh_para.py +++ b/ssh_para/ssh_para.py @@ -75,7 +75,7 @@ def parse_args(): action="store_true", help="verbose display (fqdn + line for last output)", ) - parser.add_argument("-l", "--ls", action="store_true", help="list ssh-para logs") + parser.add_argument("-l", "--ls", action="store_true", help="list ssh-para results/log directories") parser.add_argument("ssh_args", nargs="*") return parser.parse_args()