summaryrefslogtreecommitdiff
path: root/cmd/help.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-12-03 22:54:19 +0100
committerTom Rini <[email protected]>2019-01-15 15:28:53 -0500
commit6fb61445bb28a37397fdce5cb2d3f5ffd0e1a4e4 (patch)
tree32d40a84b5d768b3517f0eb4f2bdf2e96d7657ba /cmd/help.c
parentcbe07ebeafb7b67785844830c7562adc4a1f9dbf (diff)
common: command: Expose a generic helper to auto-complete sub commands
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd/help.c')
0 files changed, 0 insertions, 0 deletions