[gnome-terminal/gnome-3-22] client: legacy: Add VTE version and features to --version output
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-22] client: legacy: Add VTE version and features to --version output
- Date: Tue, 27 Sep 2016 15:43:11 +0000 (UTC)
commit 87e36d320ff9819948a2c8398c71f8b57075063a
Author: Christian Persch <chpe src gnome org>
Date: Tue Sep 27 17:42:09 2016 +0200
client: legacy: Add VTE version and features to --version output
https://bugzilla.gnome.org/show_bug.cgi?id=771960
(cherry picked from commit 0fc5f25e2a685f3ccb38b7642a5e6299d790ad6e)
src/terminal-options.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-options.c b/src/terminal-options.c
index 4d33a4d..72181ee 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -255,7 +255,12 @@ option_version_cb (const gchar *option_name,
gpointer data,
GError **error)
{
- g_print ("%s %s\n", _("GNOME Terminal"), VERSION);
+ g_print ("%s %s ", _("GNOME Terminal"), VERSION);
+ g_print (_("Using VTE version %u.%u.%u"),
+ vte_get_major_version (),
+ vte_get_minor_version (),
+ vte_get_micro_version ());
+ g_print (" %s\n", vte_get_features ());
exit (EXIT_SUCCESS);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]