Lines Matching defs:opts
57 parse_command_line(int argc, char* argv[], options& opts)
66 if (opts.path.empty())
67 opts.path = argv[i];
69 opts.wrong_command_line_usage = true;
72 opts.display_usage = true;
74 opts.read_from_stdin = true;
76 opts.no_out = true;
88 options opts;
90 if (argc == 1 || !parse_command_line(argc, argv, opts))
99 if (opts.display_usage)
107 // options are recorded in the opts variable.
111 if (opts.read_from_stdin)
113 else if (!opts.path.empty())
114 conf = read_config(opts.path);
116 if (conf && !opts.no_out)