diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-06-07 17:32:02 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-30 20:37:40 +0800 |
commit | 8e6f45f54f32b38f67960fad65f10f9ec7abdcca (patch) | |
tree | 7b3cc1c77b6bb99cfa5e7459f3e2d79c78f38238 /common | |
parent | 8aa463f785d137c68b0ae56edcb03a335a5a2b33 (diff) | |
download | barebox-8e6f45f54f32b38f67960fad65f10f9ec7abdcca.tar.gz barebox-8e6f45f54f32b38f67960fad65f10f9ec7abdcca.tar.xz |
complete: add empty complete support
for cpuinfo, clear, dhcp, false, login, lsmod, meminfo, passwd, pwd, reginfo,
reset, true, usb, version
for mach-imx and mach-mxs: dump_clocks
for u_serial: mycdev
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/complete.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/complete.c b/common/complete.c index c2b37e4e02..c1d6489e20 100644 --- a/common/complete.c +++ b/common/complete.c @@ -188,6 +188,11 @@ static int device_param_complete(char *begin, struct device_d *dev, return 0; } +int empty_complete(struct string_list *sl, char *instr) +{ + return COMPLETE_END; +} + static int env_param_complete(struct string_list *sl, char *instr, int eval) { struct device_d *dev; |