File fix-broken-I-option.patch of Package pssh
commit 93d82650aee25583f6ad08395ff844138ce35d1f
Author: Kristoffer Grönlund <krig@koru.se>
Date: Thu Jun 30 18:10:28 2016 +0200
pssh: Fix broken -I option
diff --git a/bin/pssh b/bin/pssh
index 5b6c2a5..01d6a6c 100755
--- a/bin/pssh
+++ b/bin/pssh
@@ -42,7 +42,8 @@ def option_parser():
help='read from standard input and send as input to ssh')
parser.add_option('-P', '--print', dest='print_out', action='store_true',
help='print output as we get it')
-
+ parser.add_option('-q', '--quiet', dest='quiet', action='store_true',
+ help='be quiet')
return parser
def parse_args():
@@ -83,7 +84,7 @@ def do_pssh(hosts, cmdline, opts):
cmd.extend(opts.extra)
if cmdline:
cmd.append(cmdline)
- t = Task(host, port, user, cmd, opts, stdin)
+ t = Task(host, port, user, cmd, opts, stdin=stdin)
manager.add_task(t)
try:
statuses = manager.run()