diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-06-09 00:03:53 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-30 20:37:40 +0800 |
commit | b7fc51bd793467d72695e0b18151e05a551ed152 (patch) | |
tree | f0f0905e72a20a1ad4d38a65c1a4e329a1cdcfb9 /commands/net.c | |
parent | 8e6f45f54f32b38f67960fad65f10f9ec7abdcca (diff) | |
download | barebox-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/net.c')
-rw-r--r-- | commands/net.c | 2 |
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 |