Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: thue: The readline completion now correctly complete..
Home

[Freeciv-Dev] Re: thue: The readline completion now correctly complete..

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: thue: The readline completion now correctly complete...
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sat, 29 Jul 2000 13:56:35 +1000 (EST)

David Pfitzner wrote:

> This patch improves the readline completion for 'help'
...
> and at the same time somewhat simplifies the code by making use 
> of existing function helparg_accessor().
> 
> (The num_args stuff is a bit clumsy and should perhaps just use
> sizeof, but this is the same as currently used elsewhere.)

Of course that existing code was probably written with the 
thought "its a bit ugly, but it only occurs this once" ;-}

This revision does some general cleanup of the help argument
stuff, as well as help_generator().

-- David

Attachment: helparg_completion2.diff.gz
Description: GNU Zip compressed data


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