summaryrefslogtreecommitdiffstats
path: root/common/complete.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-06-07 17:32:02 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 20:37:40 +0800
commit8e6f45f54f32b38f67960fad65f10f9ec7abdcca (patch)
tree7b3cc1c77b6bb99cfa5e7459f3e2d79c78f38238 /common/complete.c
parent8aa463f785d137c68b0ae56edcb03a335a5a2b33 (diff)
downloadbarebox-8e6f45f54f32b38f67960fad65f10f9ec7abdcca.tar.gz
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/complete.c')
-rw-r--r--common/complete.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/complete.c b/common/complete.c
index c2b37e4..c1d6489 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;