Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: GUI-specific options don't work properly in 1.12.0 (PR
Home

[Freeciv-Dev] Re: GUI-specific options don't work properly in 1.12.0 (PR

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: GUI-specific options don't work properly in 1.12.0 (PR#892)
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Sun, 12 Aug 2001 09:14:06 -0700 (PDT)

On Sun, 12 Aug 2001, Kevin Brown wrote:

> Actually, this has been the case ever since I started looking at the
> code...
> 
> As it stands right now, the main client code has to know about any
> GUI-specific options.  Otherwise, it'll reject the option as being
> unknown to it.
> 
> The following patch fixes this behavior.  It causes the main argument
> parser to call the gui-specific parser when it comes across an option
> it doesn't recognize.
> 
> I have a couple of other patches that I'll be submitting that depend
> on the following patch to function properly.
> 
> 
> My question is: why are we using our own option parsing functions,
> instead of using getopt() and friends?

Search the mailing-list archives.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa






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