diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-12 12:07:01 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-12 12:07:01 +0000 |
commit | 3b5cd55fb43ab7ee320a5d95de8233a8c5999365 (patch) | |
tree | f586da0b0ba56b147ec1799b8549f3601bdd03bf /package | |
parent | 38e2f972259ed4b21a6c50730202760ca01def8e (diff) | |
download | upstream-3b5cd55fb43ab7ee320a5d95de8233a8c5999365.tar.gz upstream-3b5cd55fb43ab7ee320a5d95de8233a8c5999365.tar.bz2 upstream-3b5cd55fb43ab7ee320a5d95de8233a8c5999365.zip |
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')
-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 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; } |