summaryrefslogtreecommitdiff
path: root/package/network/config/swconfig
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-12 12:07:01 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-12 12:07:01 +0000
commit50fd74910e7532dd1cebff0cec528f7ec0abf74a (patch)
treef586da0b0ba56b147ec1799b8549f3601bdd03bf /package/network/config/swconfig
parent3b3d5a6053dfbd75a45e8a23d4d3ac4990a8f59f (diff)
swconfig: improve usability when switch device incorrect
http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39229 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;
}