mirror of
https://github.com/brl/mutter.git
synced 2025-04-15 22:59:40 +00:00
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:
parent
c60cba4eeb
commit
7a75c7ea1f
@ -33,13 +33,7 @@ print_version (const gchar *option_name,
|
|||||||
gpointer data,
|
gpointer data,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
const int latest_year = 2011;
|
g_print ("mutter %s\n", VERSION);
|
||||||
|
|
||||||
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);
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user