Lines Matching defs:opt
208 int opt;
209 while ((opt = ::getopt_long(argc, argv, "+:", long_options, NULL)) != -1) {
210 switch (opt) {
273 const char* const argv[] = {"progname", "foo", "-c", "--opt", "bar", NULL};
278 ATF_REQUIRE(!cmdline.has_option("opt"));
282 ATF_REQUIRE_EQ("--opt", cmdline.arguments()[2]);
291 const char* const argv[] = {"progname", "foo", "-c", "--opt", "bar", NULL};
292 const string_option c('c', "opt", "Description", NULL);
298 ATF_REQUIRE(!cmdline.has_option("opt"));
302 ATF_REQUIRE_EQ("--opt", cmdline.arguments()[2]);