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: Fri, 28 Jul 2000 15:04:42 +1000 (EST)

> by Thue Janus Kristensen <thue@xxxxxxx>

> ---- Log message:
> 
> The readline completion now correctly complete option names after the help
> command.

This patch improves the readline completion for 'help' to allow
all possibilities including 'help commands' and 'help options',
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.)

-- David

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


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