[U-Boot] [PATCH v2 2/6] common: command: Expose a generic helper to auto-complete sub commands
Tom Rini
trini at konsulko.com
Thu Nov 29 14:19:56 UTC 2018
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 <boris.brezillon at bootlin.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
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/20181129/2246c276/attachment.sig>
More information about the U-Boot
mailing list