diff options
author | John Crispin <john@openwrt.org> | 2014-01-12 12:07:01 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-01-12 12:07:01 +0000 |
commit | 4810de8e4bb03b3caf1c9ad9509e65244f228af1 (patch) | |
tree | 93ad6e7c2e9db0557ec991ac2b23436adcce9cf8 /package/network | |
parent | ace5076a359ba6ea7f0158e036ed0bcde79704f6 (diff) | |
download | mtk-20170518-4810de8e4bb03b3caf1c9ad9509e65244f228af1.zip mtk-20170518-4810de8e4bb03b3caf1c9ad9509e65244f228af1.tar.gz mtk-20170518-4810de8e4bb03b3caf1c9ad9509e65244f228af1.tar.bz2 |
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')
-rw-r--r-- | package/network/config/swconfig/src/cli.c | 2 |
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 fa3dfdf..d472086 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; } |