monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] tests failing with "unrecognized option"


From: Stephen Leake
Subject: Re: [Monotone-devel] tests failing with "unrecognized option"
Date: Sun, 02 Sep 2007 10:14:53 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

"Zack Weinberg" <address@hidden> writes:

> On 9/1/07, Stephen Leake <address@hidden> 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.

Ah. That makes more sense. I'll commit it.

-- 
-- Stephe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]