From: Tom Rini Date: Thu, 29 Nov 2018 09:19:56 -0500 Subject: [U-Boot] [PATCH v2 2/6] common: command: Expose a generic helper to auto-complete sub commands In-Reply-To: <20181128233921.16675-3-boris.brezillon@bootlin.com> References: <20181128233921.16675-1-boris.brezillon@bootlin.com> <20181128233921.16675-3-boris.brezillon@bootlin.com> Message-ID: <20181129141956.GC5048@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:17AM +0100, Boris Brezillon wrote: > Some commands have a table of sub-commands. With a 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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: