=== modified file 'src/options.cc'
@@ -124,36 +124,36 @@
if (option_index != -1)
optname = long_options[option_index].name;
- if (!strcmp(optname, "ids"))
- parse_window_ids(optarg, Options::window_ids);
- else if (!strcmp(optname, "size"))
- Options::size = strtol(optarg, NULL, 10);
- else if (!strcmp(optname, "no-accel-tfp"))
- Options::use_accel_tfp = false;
- else if (!strcmp(optname, "no-vbo"))
- Options::use_vbo = false;
- else if (!strcmp(optname, "benchmark"))
- Options::benchmarks.push_back(optarg);
- else if (!strcmp(optname, "no-draw"))
- Options::draw = false;
- else if (!strcmp(optname, "idle-redraw"))
- Options::idle_redraw = true;
- else if (!strcmp(optname, "force-tex-update"))
- Options::force_tex_update = true;
- else if (!strcmp(optname, "run-forever"))
- Options::run_forever = true;
- else if (!strcmp(optname, "num-iters"))
- Options::num_iterations = strtol(optarg, NULL, 10);
- else if (!strcmp(optname, "list-tests"))
- Options::list_tests = true;
- else if (!strcmp(optname, "manual-redirect"))
- Options::manual_redirect = true;
- else if (!strcmp(optname, "no-swap-buffers"))
- Options::swap_buffers = false;
- else if (!strcmp(optname, "debug"))
- Options::show_debug = true;
- else if (!strcmp(optname, "help"))
- Options::show_help = true;
+ if (!strcmp(optname, "ids"))
+ parse_window_ids(optarg, Options::window_ids);
+ else if (!strcmp(optname, "size"))
+ Options::size = strtol(optarg, NULL, 10);
+ else if (!strcmp(optname, "no-accel-tfp"))
+ Options::use_accel_tfp = false;
+ else if (!strcmp(optname, "no-vbo"))
+ Options::use_vbo = false;
+ else if (!strcmp(optname, "benchmark"))
+ Options::benchmarks.push_back(optarg);
+ else if (!strcmp(optname, "no-draw"))
+ Options::draw = false;
+ else if (!strcmp(optname, "idle-redraw"))
+ Options::idle_redraw = true;
+ else if (!strcmp(optname, "force-tex-update"))
+ Options::force_tex_update = true;
+ else if (!strcmp(optname, "run-forever"))
+ Options::run_forever = true;
+ else if (!strcmp(optname, "num-iters"))
+ Options::num_iterations = strtol(optarg, NULL, 10);
+ else if (!strcmp(optname, "list-tests"))
+ Options::list_tests = true;
+ else if (!strcmp(optname, "manual-redirect"))
+ Options::manual_redirect = true;
+ else if (!strcmp(optname, "no-swap-buffers"))
+ Options::swap_buffers = false;
+ else if (!strcmp(optname, "debug"))
+ Options::show_debug = true;
+ else if (!strcmp(optname, "help"))
+ Options::show_help = true;
}
return true;