Lines Matching refs:option
288 int option = 1;
293 while (option < argc) {
294 if (!strcmp(argv[option], "-display"))
295 if (++option < argc)
296 display_name = argv[option];
300 else if (!strcmp(argv[option], "-force"))
303 else if (!strcmp(argv[option], "-allscreens"))
306 else if (!strcmp(argv[option], "-depth"))
307 if (++option < argc) {
308 depth = string_to_depth(argv[option]);
310 fprintf(stderr, "%s: unknown depth %s\n", prog_name, argv[option]);
316 else if (!strcmp(argv[option], "-visual"))
317 if (++option < argc) {
318 visual_class = string_to_visual(argv[option]);
320 fprintf(stderr, "%s: unknown visual class %s\n", prog_name, argv[option]);
329 else if (!strcmp(argv[option], "-verbose"))
332 else if (!strcmp(argv[option], "-help"))
336 (void)fprintf(stderr, "%s: unknown command line option \"%s\"\n",
337 prog_name, argv[option]);
340 option++;