projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace5076
)
swconfig: improve usability when switch device incorrect
author
John Crispin
<john@openwrt.org>
Sun, 12 Jan 2014 12:07:01 +0000
(12:07 +0000)
committer
John Crispin
<john@openwrt.org>
Sun, 12 Jan 2014 12:07:01 +0000
(12:07 +0000)
http://patchwork.openwrt.org/patch/4701/
Signed-off-by: Andreas Mohr <andim2@users.sf.net>
SVN-Revision: 39229
package/network/config/swconfig/src/cli.c
patch
|
blob
|
history
diff --git
a/package/network/config/swconfig/src/cli.c
b/package/network/config/swconfig/src/cli.c
index fa3dfdf6f2bda062e28c657f1c7c0ad97b86be3f..d472086781365b1d441cea18a4bc2c9932557cc9 100644
(file)
--- 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;
}