I don't like seeing the output of update-mime-database, so I think adding a verbose command line switch would be nice. Patch will follow.
Created attachment 6004 [details] [review] patch IMHO, it'd be best to use -v for verbose and -V for version, but I don't want to break stuff...
To not break stuff the easiest would be to add a "-q" (for quiet)...
Created attachment 6237 [details] [review] Updated patch This adds -q. I'm not fond of the verbose mode by default, though. Especially since the output doesn't look useful for 99.999% of the people out there ;-) I don't think this would break anything, but if you prefer -q, I won't fight.
*** Bug 8161 has been marked as a duplicate of this bug. ***
Created attachment 8583 [details] [review] Alternate patch using g_log and filtering out chatter Here's the patch I sent in bug 8161 which uses g_log.
Pressure works :) 2007-02-06 Bastien Nocera <hadess@hadess.net> * Makefile.am: verbose mode in install mode by default * configure.in: up the glib requirements to 2.2 * update-mime-database.1: * update-mime-database.c: (g_log_handler), (usage), (get_type), (load_source_file), (write_out_glob), (write_magic_children), (write_magic), (delete_old_types), (check_in_path_xdg_data), (write_map_entry), (write_parent_entry), (write_parent_list), (build_suffixes), (write_suffix_entries), (write_match), (write_cache), (main): Patch from Loïc Minier <lool+freedesktop@via.ecp.fr> to make the output of update-mime-database quiet by default (Closes: #7289)
Argh, my secret tactic has been uncovered! :-P
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.