summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-06-09 00:03:53 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 20:37:40 +0800
commitb7fc51bd793467d72695e0b18151e05a551ed152 (patch)
treef0f0905e72a20a1ad4d38a65c1a4e329a1cdcfb9 /commands
parent8e6f45f54f32b38f67960fad65f10f9ec7abdcca (diff)
downloadbarebox-b7fc51bd793467d72695e0b18151e05a551ed152.tar.gz
barebox-b7fc51bd793467d72695e0b18151e05a551ed152.tar.xz
complete: add eth interface complete support
use it on ethact Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'commands')
-rw-r--r--commands/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/net.c b/commands/net.c
index c5c6373dd3..a453f4ed33 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -28,6 +28,7 @@
#include <common.h>
#include <command.h>
+#include <complete.h>
#include <environment.h>
#include <driver.h>
#include <net.h>
@@ -96,5 +97,6 @@ BAREBOX_CMD_START(ethact)
.cmd = do_ethact,
.usage = "set current ethernet device",
BAREBOX_CMD_HELP(cmd_ethact_help)
+ BAREBOX_CMD_COMPLETE(eth_complete)
BAREBOX_CMD_END