lars wrote: > Adding the -l argument to assign user name on sftp is done on ssh and > makes the two more similar to use. The diff below is an illustraion of > what might be done. > > /Lars > > > diff sftp.c sftp.c.old > 1665c1665 > < "1246hqrvCc:D:i:o:s:S:b:B:F:P:R:l:")) != -1) { > --- >> "1246hqrvCc:D:i:o:s:S:b:B:F:P:R:")) != -1) { > 1725,1727d1724 > < case 'l': > < addargs(&args, "-l %s", optarg); > < break; >
Hint: run $ cvs diff -uNp [file ...] against the cvs tree instead to make you diffs readable. As a bonus, it also makes them non-reversed... :-) /Alexander