9
0
Fork 0

complete: add help complete support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2011-06-06 23:14:38 +08:00
parent 1fa17ad5d4
commit 8aa463f785
1 changed files with 2 additions and 0 deletions

View File

@ -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