From fcc232e09a684fe2d42b4646caf4f5d98cd66756 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Tue, 28 Sep 2021 18:49:14 +0900 Subject: [PATCH] sh: Recommend 'ifconfig' in place of 'ip'/'ipconfig' --- apps/sh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/sh.c b/apps/sh.c index c4653fda..84d7cd6e 100644 --- a/apps/sh.c +++ b/apps/sh.c @@ -730,7 +730,7 @@ struct alternative { #define ALT_BIM "bim", "vi-like text editor" #define ALT_FETCH "fetch", "URL downloader" -#define ALT_NETIF "cat /proc/netif", "to see network configuration" +#define ALT_NETIF "ifconfig", "to see network configuration" static struct alternative cmd_alternatives[] = { /* Propose bim as an alternative for common text editors */ @@ -744,7 +744,6 @@ static struct alternative cmd_alternatives[] = { {"wget", ALT_FETCH}, /* We don't have ip or ifconfig commands, suggest cat /proc/netif */ - {"ifconfig", ALT_NETIF}, {"ipconfig", ALT_NETIF}, {"ip", ALT_NETIF},