summaryrefslogtreecommitdiffstats
path: root/commands/lsmod.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 /commands/lsmod.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 'commands/lsmod.c')
-rw-r--r--commands/lsmod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/lsmod.c b/commands/lsmod.c
index f7da1d0..e54eadc 100644
--- a/commands/lsmod.c
+++ b/commands/lsmod.c
@@ -1,5 +1,6 @@
#include <common.h>
#include <command.h>
+#include <complete.h>
#include <module.h>
static int do_lsmod(int argc, char *argv[])
@@ -15,4 +16,5 @@ static int do_lsmod(int argc, char *argv[])
BAREBOX_CMD_START(lsmod)
.cmd = do_lsmod,
.usage = "list modules",
+ BAREBOX_CMD_COMPLETE(empty_complete)
BAREBOX_CMD_END