Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E9MUq-0002Cg-K6 for mharc-grub-devel@gnu.org; Sun, 28 Aug 2005 08:42:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E9MUo-0002Ar-Le for grub-devel@gnu.org; Sun, 28 Aug 2005 08:42:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E9MUl-00028U-OH for grub-devel@gnu.org; Sun, 28 Aug 2005 08:42:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9MUj-0001lj-U6 for grub-devel@gnu.org; Sun, 28 Aug 2005 08:42:42 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E9MSc-0005wM-Sm for grub-devel@gnu.org; Sun, 28 Aug 2005 08:40:31 -0400 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 3872DFF94DAC for ; Sun, 28 Aug 2005 14:38:28 +0200 (CEST) Received: from 127.0.0.1 ([127.0.0.1] helo=ip6-localhost) by ASSP-nospam ; 28 Aug 05 12:38:28 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 28 Aug 2005 14:37:19 +0200 User-Agent: KMail/1.7.2 References: <87r7cg73hs.fsf@student.han.nl> In-Reply-To: <87r7cg73hs.fsf@student.han.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508281437.19326.okuji@enbug.org> Subject: Re: Completion for arguments X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2005 12:42:47 -0000 On Saturday 27 August 2005 00:11, Marco Gerards wrote: > + /* Add the short arguments. */ > + for (option = cmd->options; option->doc; option++) > + { > + if (!option->shortarg) > + continue; This should be: if (! grub_isgraph (option->shortarg)) continue; because we sometimes want to specify non-graph short arguments for convenience. Okuji