--- update-mime-database.c.orig 2005-12-19 19:37:47 +0300 +++ update-mime-database.c 2006-09-09 23:50:13 +0400 @@ -2672,7 +2672,11 @@ } } - if (optind != argc - 1) + if (optind == argc - 2) + { + g_printerr(_("%s: Deprecated second parameter '%s' ignored.\n"), argv[0], argv[optind + 1]); + } + else if (optind != argc - 1) { usage(argv[0]); return EXIT_FAILURE;