On 9/1/07, Stephen Leake <[EMAIL PROTECTED]> wrote:
> The problem is this line in tester.cc parse_command_line:
>
>       else if (argv[i][1] == '-')
>         {
>           P(F("unrecognized option '%s'") % argv[i]);
>
> it should be:
>
>       else if (argv[i][0] == '-' && argv[i][1] == '-')
>         {
>           P(F("unrecognized option '%s'") % argv[i]);

Actually, it should be

    else if (argv[i][0] == '-')

I think I got confused switching back and forth between C and Lua.

zw


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to