From 50fd74910e7532dd1cebff0cec528f7ec0abf74a Mon Sep 17 00:00:00 2001 From: blogic Date: Sun, 12 Jan 2014 12:07:01 +0000 Subject: swconfig: improve usability when switch device incorrect http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39229 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/swconfig/src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/network') diff --git a/package/network/config/swconfig/src/cli.c b/package/network/config/swconfig/src/cli.c index fa3dfdf6f2..d472086781 100644 --- a/package/network/config/swconfig/src/cli.c +++ b/package/network/config/swconfig/src/cli.c @@ -270,7 +270,7 @@ int main(int argc, char **argv) dev = swlib_connect(cdev); if (!dev) { - fprintf(stderr, "Failed to connect to the switch\n"); + fprintf(stderr, "Failed to connect to the switch. Use the \"list\" command to see which switches are available.\n"); return 1; } -- cgit v1.2.3