add --g-fatal-warnings

This commit is contained in:
Dana Jansens 2003-07-11 02:51:59 +00:00
parent 1546430f12
commit d3454e326f

View file

@ -521,6 +521,8 @@ static void parse_args(int argc, char **argv)
} else if (!strcmp(argv[i], "--help")) { } else if (!strcmp(argv[i], "--help")) {
print_help(); print_help();
exit(0); exit(0);
} else if (!strcmp(argv[i], "--g-fatal-warnings")) {
g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);
} else if (!strcmp(argv[i], "--sync")) { } else if (!strcmp(argv[i], "--sync")) {
xsync = TRUE; xsync = TRUE;
#ifdef USE_SM #ifdef USE_SM