From: John Crispin Date: Sun, 12 Jan 2014 12:07:01 +0000 (+0000) Subject: swconfig: improve usability when switch device incorrect X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4810de8e4bb03b3caf1c9ad9509e65244f228af1;p=openwrt%2Fstaging%2Fynezz.git swconfig: improve usability when switch device incorrect http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr SVN-Revision: 39229 --- 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; }