switched --help to lowercase

This commit is contained in:
Lexxy Fox 2023-11-02 13:03:18 -05:00
parent 8404b1695c
commit a745831c14

View File

@ -381,15 +381,15 @@ static char *window_title = "Gears";
#ifdef HAVE_ARGP #ifdef HAVE_ARGP
static const struct argp_option options[] = { static const struct argp_option options[] = {
{"version", 'V', 0, 0, "print program version"}, {"version", 'V', 0, 0, "print program version"},
{"info", 256, 0, 0, "Display OpenGL renderer information"}, {"info", 256, 0, 0, "display OpenGL renderer information"},
{"exit", 257, 0, 0, "Automatically exit after 30 seconds"}, {"exit", 257, 0, 0, "automatically exit after 30 seconds"},
{"noanim", 258, 0, 0, "Don't start animation"}, {"noanim", 258, 0, 0, "don't start animation"},
{"spin", {"spin",
259, 259,
"speed", "speed",
0, 0,
"Set rotational speed in RPM (defaults to 11.666666667)"}, "set rotational speed in RPM (defaults to 11.666666667)"},
{"title", 260, "title", 0, "Set window title (defaults to \"Gears\")"}, {"title", 260, "title", 0, "set window title (defaults to \"Gears\")"},
{0}}; {0}};
static error_t parse_opt(int key, char *val, struct argp_state *) { static error_t parse_opt(int key, char *val, struct argp_state *) {