From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 Jan 2019 21:39:11 -0500 Subject: [U-Boot] [U-Boot, v4, 1/6] common: command: Fix command auto-completion In-Reply-To: <20181203215423.18772-2-boris.brezillon@bootlin.com> References: <20181203215423.18772-2-boris.brezillon@bootlin.com> Message-ID: <20190116023911.GN27429@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Dec 03, 2018 at 10:54:18PM +0100, Boris Brezillon wrote: > When auto-completing command arguments, the last argument is not > necessarily the one we need to auto-complete. When the last character is > a space, a tab or '\0' what we want instead is list all possible values, > or if there's only one possible value, place this value on the command > line instead of trying to suffix the last valid argument with missing > chars. > > Signed-off-by: Boris Brezillon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: