From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 Jan 2019 21:39:16 -0500 Subject: [U-Boot] [U-Boot, v4, 2/6] common: command: Expose a generic helper to auto-complete sub commands In-Reply-To: <20181203215423.18772-3-boris.brezillon@bootlin.com> References: <20181203215423.18772-3-boris.brezillon@bootlin.com> Message-ID: <20190116023916.GO27429@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:19PM +0100, Boris Brezillon wrote: > Some commands have a table of sub-commands. With minor adjustments, > complete_cmdv() is able to provide auto-completion for sub-commands > (it's just about passing the table of commands instead of taking the > global one). > We rename this function into complete_subcmd() and implement > complete_cmdv() as a wrapper around complete_subcmdv(). > > 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: