<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
<BR>
Sorry, I'm still a bit new to this. Simply using _parse_help, and doing "loadkeys --con<TAB>" showed me a "loadkeys --console= " (with the trailing space) which sounded wrong to me and I had not investigated much after that, especially considering that doing my parsing of loadkeys help was an easy enough task.<BR>
<BR>
I'll try some more with information from the patch you've pointed me to, and will come with a new patch.<BR>
<BR>
By the way, why not also showing short single-letter options in the completion ? Is that on purpose ?<BR>
<BR>
D<BR>
<BR>
Le lundi 09 juin 2014 à 10:15 +0300, Ville Skyttä a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Sun, Jun 8, 2014 at 9:02 PM, Dams <<A HREF="mailto:alioth@livna.org">alioth@livna.org</A>> wrote:
<FONT COLOR="#737373">> Hello</FONT>
<FONT COLOR="#737373">></FONT>
<FONT COLOR="#737373">> I'd like to submit this implementation of "loadkeys" completion, in</FONT>
<FONT COLOR="#737373">> order to fix #313855. Since I cannot attach anything to the ticket, I</FONT>
<FONT COLOR="#737373">> thought about posting the patch here.</FONT>
Quickly looking into it, I don't see why our _parse_help and standard
way of splitting + handling --foo= options wouldn't work. See for
example <A HREF="http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=c6ec8f9">http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=c6ec8f9</A>
(the split, _init_completion -s, and compopt -o nospace bits)
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Dams <<A HREF="mailto:alioth@livna.org">alioth@livna.org</A>>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>