projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a017d
)
brcompatd: Improve error message.
author
Ben Pfaff
<blp@nicira.com>
Tue, 19 May 2009 21:01:55 +0000
(14:01 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 20 May 2009 21:54:38 +0000
(14:54 -0700)
When there are no non-option arguments, "config file is only non-option
argument" is a confusing message, so make it more generic.
vswitchd/brcompatd.c
patch
|
blob
|
history
diff --git
a/vswitchd/brcompatd.c
b/vswitchd/brcompatd.c
index aecb73ed7162b87fda1deeababdcfa9da0b27fcb..cda9c5cd08292dff622128e7650daea66483da3a 100644
(file)
--- a/
vswitchd/brcompatd.c
+++ b/
vswitchd/brcompatd.c
@@
-729,7
+729,7
@@
parse_options(int argc, char *argv[])
argv += optind;
if (argc != 1) {
- ovs_fatal(0, "
config file is only non-option argument
; "
+ ovs_fatal(0, "
exactly one non-option argument required
; "
"use --help for usage");
}