Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] set arg=val syntax (was: problems with CVS snapshot ...)
Home

[Freeciv-Dev] set arg=val syntax (was: problems with CVS snapshot ...)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] set arg=val syntax (was: problems with CVS snapshot ...)
From: Reinier Post <rp@xxxxxxxxxx>
Date: Wed, 25 Jul 2001 17:51:22 +0200

On Wed, Jul 25, 2001 at 01:20:13PM +0100, Zverina, David wrote:
> I've successfully compile civserver from the 24Jul snapshot but have
> problems when trying to set any parameters on the server.
> When trying to pass in any number to the set command the number is
> interpreted as 0
> 
> Eg.
> > set rivers=200
> Option: rivers has been set to 0.

Ahem; I've seen this more often.  The correct syntax is

  set rivers 0

A patch to support your syntax is attached.  It assumes that no
option value can start with '=', which seems reasonable.

Perhaps it's better to print an error message instead?

-- 
Reinier

Attachment: set-is.diff-u
Description: Text document


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