[U-Boot] [U-Boot, v4, 2/6] common: command: Expose a generic helper to auto-complete sub commands

Tom Rini trini at konsulko.com
Wed Jan 16 02:39:16 UTC 2019


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 <boris.brezillon at bootlin.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20190115/b4781c33/attachment.sig>


More information about the U-Boot mailing list