David Fritz <zeroxdf@xxxxxxx> writes:
> But, I'd guess you probably had a non-option argument before -O.
> For a while now, the version of getopt_long() included with Cygwin
> has had argument permutation disabled by default.
What on Earth were they thinking?! I've never considered the
possibility that someone would be stupid enough to do that. Maybe
Wget should revert to simply using its own implementation of
getopt_long unconditionally.
> (It's recently been re-enabled in CVS, but not yet in a released
> version.) So, under Cygwin you'll need to place all option
> arguments before any non-option arguments.
I never thought I'd see those particular instructions applied to Wget.
I've always hated the traditional Unix requirement for all options to
precede all non-options.
If Cygwin thinks it knows better how to handle command-line options,
they should have the decency to name the function something other than
getopt_long.
|
|