"bruce" <[EMAIL PROTECTED]> writes:
> add to 'struct cmdline_option option_data[]'
> .
> .
> { "version", 'V', OPT_FUNCALL, (void *) print_version, no_argument },
> { "wait", 'w', OPT_VALUE, "wait", -1 },
>>>> { "college-file", 'C', OPT_VALUE, "collegefile", -1 },
> { "waitretry", 0, OPT_VALUE, "waitretry", -1 },
> };
That array needs to be ordered alphabetically, by command name. (Wget
uses binary search for searching the list, so the ordering really is
necessary.) That's why you're triggering the assert. The comment
above the array definitions mentions that.