[scponly] how do I use rsync with scponly ?
Ensel Sharon
user at dhp.com
Tue Mar 21 12:16:14 EST 2006
On Tue, 21 Mar 2006, Kaleb Pederson wrote:
> Per 'man 3 getopt':
>
> The getopt_long() function works like getopt() except that it also accepts
> long options, started out by two dashes. (If the program accepts only long
> options, then optstring should be specified as an empty string (""), not
> NULL.) Long option names may be abbreviated if the abbreviation is unique or
> is an exact match for some defined option. A long option may take a
> parameter, of the form --arg=param or --arg param.
>
> And... the call in scponly is:
>
> while ((ch = getopt(ac, av, cmdarg->opts)) != -1) {...}
Ok, I see this line in helper.c
So this is the _only_ line I need to change getopt to getopt_long, or do I
need to change it in other places in this file ?
Thanks.
More information about the scponly
mailing list