secchan: Remove mention of "-f" flag as being equivalent "--fail"
authorJustin Pettit <jpettit@nicira.com>
Wed, 5 Aug 2009 21:16:38 +0000 (14:16 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 7 Aug 2009 01:04:36 +0000 (18:04 -0700)
In an error message, it mentions a required argument to "-f or --fail",
but "-f" is not a short form of "--fail".

secchan/main.c

index c3d50a6523d08e7bd7f77b9adcf3ea307a2b82e1..ee29f27be2fae15820eb3a1da52aec29af235c07 100644 (file)
@@ -353,8 +353,7 @@ parse_options(int argc, char *argv[], struct ofsettings *s)
             } else if (!strcmp(optarg, "closed")) {
                 s->fail_mode = FAIL_CLOSED;
             } else {
-                ovs_fatal(0, "-f or --fail argument must be \"open\" "
-                          "or \"closed\"");
+                ovs_fatal(0, "--fail argument must be \"open\" or \"closed\"");
             }
             break;