diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-04-24 15:52:37 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-04-24 15:53:27 -0700 |
| commit | c5e56adf52ddb65376f175b9a205a555bd50915a (patch) | |
| tree | 62112c454d5d720755f997031b9736229e4b19a9 /src/caskbench.cpp | |
| parent | 53697169a1a2e44ab74cfeab52916e5bc04ff6e0 (diff) | |
caskbench: Use - rather than _ in option names
Diffstat (limited to 'src/caskbench.cpp')
| -rw-r--r-- | src/caskbench.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp index 093e4db..2317412 100644 --- a/src/caskbench.cpp +++ b/src/caskbench.cpp @@ -236,14 +236,14 @@ process_options(caskbench_options_t *opt, int argc, char *argv[]) {"enable-egl-sample-buffers", '\0', POPT_ARG_NONE, &opt->enable_egl_sample_buffers, 0, "Sets EGL_SAMPLES=4 and EGL_SAMPLE_BUFFERS=1 in the EGL attribute list", NULL}, - {"shape_id", 'S', POPT_ARG_INT, &opt->shape_id, 0, + {"shape-id", 'S', POPT_ARG_INT, &opt->shape_id, 0, "Controls which shape to be drawn ", NULL}, - {"x_position", 'X', POPT_ARG_INT, &opt->x_position, 0, - "x_position of the object where it to be drawn ", + {"x-position", 'X', POPT_ARG_INT, &opt->x_position, 0, + "x-position of the object where it to be drawn ", NULL}, - {"y_position", 'Y', POPT_ARG_INT, &opt->y_position, 0, - "y_position of the object where it to be drawn ", + {"y-position", 'Y', POPT_ARG_INT, &opt->y_position, 0, + "y-position of the object where it to be drawn ", NULL}, {"width", 'W', POPT_ARG_INT, &opt->width, 0, "Width of the shape bject ", @@ -274,30 +274,30 @@ process_options(caskbench_options_t *opt, int argc, char *argv[]) {"image-path", 'I', POPT_ARG_STRING, &opt->image_path, 0, "Image path to refer the image for setting source, clipping, patterns", NULL}, - {"stroke_width", 'w', POPT_ARG_INT, &opt->stroke_width, 0, + {"stroke-width", 'w', POPT_ARG_INT, &opt->stroke_width, 0, "represents stroke width of the object", NULL}, - {"multi_shapes", 'm', POPT_ARG_INT, &opt->multi_shapes, 0, + {"multi-shapes", 'm', POPT_ARG_INT, &opt->multi_shapes, 0, "represents stroke width of the object", NULL}, #if 0 - {"stroke_red", "SR", POPT_ARG_INT, &opt->multi_shapes, 0, + {"stroke-red", "SR", POPT_ARG_INT, &opt->multi_shapes, 0, "represents r value for stroke color", NULL}, - {"stroke_green", "SG", POPT_ARG_INT, &opt->multi_shapes, 0, + {"stroke-green", "SG", POPT_ARG_INT, &opt->multi_shapes, 0, "represents represents g value for stroke color", NULL}, - {"stroke_blue", "SB", POPT_ARG_INT, &opt->multi_shapes, 0, + {"stroke-blue", "SB", POPT_ARG_INT, &opt->multi_shapes, 0, "represents represents b value for stroke color", NULL}, #endif - {"cap_style", 'C', POPT_ARG_INT, &opt->cap_style, 0, + {"cap-style", 'C', POPT_ARG_INT, &opt->cap_style, 0, "represents r value for stroke color", NULL}, - {"join_style", 'J', POPT_ARG_INT, &opt->join_style, 0, + {"join-style", 'J', POPT_ARG_INT, &opt->join_style, 0, "represents r value for stroke color", NULL}, - {"dash_style", 'D', POPT_ARG_INT, &opt->dash_style, 0, + {"dash-style", 'D', POPT_ARG_INT, &opt->dash_style, 0, "represents r value for stroke color", NULL}, POPT_AUTOHELP |