]> git.baikalelectronics.ru Git - uboot.git/commit
common: command: Add support for $ auto-completion
authorBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 5 Dec 2018 08:26:50 +0000 (09:26 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:38:28 +0000 (15:38 -0500)
commitacd996353f1999b519c9c1e4da45f46a945295e3
tree73d8d68a2d4497ec6000f44d4ae8d4db80b40be2
parent5a6d22da6594cdfffbcdacca0980036c716a8bdc
common: command: Add support for $ auto-completion

Add the dollar_complete() function to auto-complete arguments starting
with a '$' and use it in the cmd_auto_complete() path such that all
args starting with a $ can be auto-completed based on the available env
vars.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
[trini: Fix some linking problems]
Signed-off-by: Tom Rini <trini@konsulko.com>
common/command.c
env/common.c
include/common.h
lib/Makefile