debug: Accept HELP for the COGL_DEBUG environment variable.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Rob Bradford 2011-12-09 17:17:51 +00:00 committed by Neil Roberts
parent 6e37cebc7a
commit e723b3b479

View File

@ -167,7 +167,7 @@ _cogl_parse_debug_string (const char *value,
else
COGL_DEBUG_CLEAR_FLAG (cogl_log_debug_keys[i].value);
}
else if (strcmp (value, "help") == 0)
else if (g_ascii_strcasecmp (value, "help") == 0)
{
g_printerr ("\n\n%28s\n", _("Supported debug values:"));
#define OPT(MASK_NAME, GROUP, NAME, NAME_FORMATTED, DESCRIPTION) \