shekkbuilder / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
1 stars 0 forks source link

prsync --ssh-args mangles arguments #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A command such as:
  prsync --ssh-args="-a -x"

winds up passed to rsync as:
  "-e ssh - a  - x"

Unless I'm misunderstanding the usage of --ssh-args, this is a small bug in 
opts parsing.  Patch attached.

Original issue reported on code.google.com by jbyers on 24 Sep 2010 at 8:33

Attachments:

GoogleCodeExporter commented 8 years ago
You're completely correct.  I've applied the patch.  Thanks for your help.

Original comment by amcna...@gmail.com on 24 Sep 2010 at 9:22