[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]
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
helparg_completion2.diff.gz
Description: GNU Zip compressed data
|
|