[Bug 1814] scp get file prepends -- before filename

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Jul 14 04:24:54 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1814

--- Comment #9 from petiepooo at yahoo.com <petiepooo at yahoo.com> 2011-07-14 04:24:54 EST ---
Created attachment 2064
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2064
Adds -- only when next argument starts with - or wildcard

Adds a check before adding each "--" getopt flag to command lines. 
Flag is only added if the following argument starts with '-' or
wildcard (* or ?).

My first patch submission, please let me know if I did it wrong.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list