Lines Matching defs:option
9 the Free Software Foundation; either version 2, or (at your option)
245 struct option md_longopts[] =
254 char *option; /* Option name to match. */
282 const char *option; /* Substring to match. */
284 int (*func) (const char *subopt); /* Function to decode sub-option. */
326 /* Listing option. Just ignore these, we don't support additional
331 for (opt = visium_opts; opt->option != NULL; opt++)
333 if (c == opt->option[0]
334 && ((arg == NULL && opt->option[1] == 0)
335 || strcmp (arg, opt->option + 1) == 0))
337 /* If the option is deprecated, tell the user. */
339 as_tsktsk ("option `-%c%s' is deprecated: %s", c,
349 for (lopt = visium_long_opts; lopt->option != NULL; lopt++)
352 if (c == lopt->option[0]
354 && strncmp (arg, lopt->option + 1,
355 strlen (lopt->option + 1)) == 0)
357 /* If the option is deprecated, tell the user. */
359 as_tsktsk ("option `-%c%s' is deprecated: %s", c, arg,
362 /* Call the sup-option parser. */
363 return lopt->func (arg + strlen (lopt->option) - 1);
381 for (opt = visium_opts; opt->option != NULL; opt++)
383 fprintf (fp, " -%-23s%s\n", opt->option, opt->help);
385 for (lopt = visium_long_opts; lopt->option != NULL; lopt++)
387 fprintf (fp, " -%s%s\n", lopt->option, lopt->help);