aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/swconfig
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-12 12:07:01 +0000
committerJohn Crispin <john@openwrt.org>2014-01-12 12:07:01 +0000
commit4810de8e4bb03b3caf1c9ad9509e65244f228af1 (patch)
tree93ad6e7c2e9db0557ec991ac2b23436adcce9cf8 /package/network/config/swconfig
parentace5076a359ba6ea7f0158e036ed0bcde79704f6 (diff)
downloadupstream-4810de8e4bb03b3caf1c9ad9509e65244f228af1.tar.gz
upstream-4810de8e4bb03b3caf1c9ad9509e65244f228af1.tar.bz2
upstream-4810de8e4bb03b3caf1c9ad9509e65244f228af1.zip
swconfig: improve usability when switch device incorrect
http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> SVN-Revision: 39229
Diffstat (limited to 'package/network/config/swconfig')
-rw-r--r--package/network/config/swconfig/src/cli.c2
1 files changed, 1 insertions, 1 deletions
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;
}