[gtk+] gtk-launch: Add help string for --version



commit 3f102c27aaeb6c8c1a51e1aa26108ab2be93ac46
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Sep 11 10:51:19 2016 -0400

    gtk-launch: Add help string for --version
    
    This was missing for no good reason.

 gtk/gtk-launch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtk-launch.c b/gtk/gtk-launch.c
index 4186a45..ab00500 100644
--- a/gtk/gtk-launch.c
+++ b/gtk/gtk-launch.c
@@ -37,7 +37,7 @@ static gboolean show_version;
 static gchar **args = NULL;
 
 static GOptionEntry entries[] = {
-  { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, NULL, NULL },
+  { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Show program version"), NULL },
   { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &args, NULL, NULL },
   { NULL}
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]