summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-06-06 23:14:38 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 20:37:39 +0800
commit8aa463f785d137c68b0ae56edcb03a335a5a2b33 (patch)
tree50d3a41445420c0b43d8e907aaf9991b23c90fa5 /commands
parent1fa17ad5d479714f46024c51a238b0f320b6e8d3 (diff)
downloadbarebox-8aa463f785d137c68b0ae56edcb03a335a5a2b33.tar.gz
barebox-8aa463f785d137c68b0ae56edcb03a335a5a2b33.tar.xz
complete: add help complete support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'commands')
-rw-r--r--commands/help.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/help.c b/commands/help.c
index 706b9057e9..d7d9ba25af 100644
--- a/commands/help.c
+++ b/commands/help.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <command.h>
+#include <complete.h>
/*
* Use puts() instead of printf() to avoid printf buffer overflow
@@ -68,5 +69,6 @@ BAREBOX_CMD_START(help)
.aliases = help_aliases,
.usage = "print online help",
BAREBOX_CMD_HELP(cmd_help_help)
+ BAREBOX_CMD_COMPLETE(command_complete)
BAREBOX_CMD_END