[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] tests failing with "unrecognized option"
From: |
Zack Weinberg |
Subject: |
Re: [Monotone-devel] tests failing with "unrecognized option" |
Date: |
Sat, 1 Sep 2007 10:32:56 -0700 |
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.
zw