core: Don't show copyright when printing version

Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/86
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1702>
This commit is contained in:
Björn Daase 2021-02-07 12:48:20 +01:00 committed by Marge Bot
parent c60cba4eeb
commit 7a75c7ea1f

View File

@ -33,13 +33,7 @@ print_version (const gchar *option_name,
gpointer data,
GError **error)
{
const int latest_year = 2011;
g_print (_("mutter %s\n"
"Copyright © 2001-%d Havoc Pennington, Red Hat, Inc., and others\n"
"This is free software; see the source for copying conditions.\n"
"There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"),
VERSION, latest_year);
g_print ("mutter %s\n", VERSION);
exit (0);
}