From 4810de8e4bb03b3caf1c9ad9509e65244f228af1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 12 Jan 2014 12:07:01 +0000 Subject: [PATCH] swconfig: improve usability when switch device incorrect http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr SVN-Revision: 39229 --- package/network/config/swconfig/src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2