From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCJLL-0005VF-3k for barebox@lists.infradead.org; Thu, 12 Mar 2020 08:37:27 +0000 From: Sascha Hauer Date: Thu, 12 Mar 2020 09:35:52 +0100 Message-Id: <20200312083555.10793-17-s.hauer@pengutronix.de> In-Reply-To: <20200312083555.10793-1-s.hauer@pengutronix.de> References: <20200312083555.10793-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 16/19] net: ifup command: add ethernet device completion To: Barebox List Cc: Edmund Henniges , =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= ifup usually takes an ethernet device, so use ethernet device completion for the command. Signed-off-by: Sascha Hauer --- net/ifup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ifup.c b/net/ifup.c index e5e8ef2346..fa2c52ff8b 100644 --- a/net/ifup.c +++ b/net/ifup.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -341,6 +342,7 @@ BAREBOX_CMD_START(ifup) BAREBOX_CMD_DESC("bring a network interface up") BAREBOX_CMD_OPTS("[-af] [INTF]") BAREBOX_CMD_GROUP(CMD_GRP_NET) + BAREBOX_CMD_COMPLETE(eth_complete) BAREBOX_CMD_HELP(cmd_ifup_help) BAREBOX_CMD_END -- 2.25.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox