From 9588324add84a555418e4cbe4ae7bf2958bfa394 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 19 May 2009 14:01:55 -0700 Subject: [PATCH] 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. --- vswitchd/brcompatd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.30.2