From: Ben Pfaff Date: Tue, 19 May 2009 21:01:55 +0000 (-0700) Subject: brcompatd: Improve error message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9588324add84a555418e4cbe4ae7bf2958bfa394;p=openvswitch brcompatd: Improve error message. When there are no non-option arguments, "config file is only non-option argument" is a confusing message, so make it more generic. --- diff --git a/vswitchd/brcompatd.c b/vswitchd/brcompatd.c index aecb73ed..cda9c5cd 100644 --- 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"); }