From: Tom Rini Date: Thu, 29 Nov 2018 09:19:52 -0500 Subject: [U-Boot] [PATCH v2 1/6] common: command: Fix command auto-completion In-Reply-To: <20181128233921.16675-2-boris.brezillon@bootlin.com> References: <20181128233921.16675-1-boris.brezillon@bootlin.com> <20181128233921.16675-2-boris.brezillon@bootlin.com> Message-ID: <20181129141952.GB5048@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 Thu, Nov 29, 2018 at 12:39:16AM +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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: