Use the right binary name in help output. Patch by Hiroyuki Ikezoe.
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 6 Jul 2008 02:01:56 +0000 (02:01 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 6 Jul 2008 02:01:56 +0000 (02:01 +0000)
        * gobject-query.c: Use the right binary name in help output.
        Patch by Hiroyuki Ikezoe.

svn path=/trunk/; revision=7164

gobject/ChangeLog
gobject/gobject-query.c

index 851ea71..42c3309 100644 (file)
@@ -1,3 +1,10 @@
+2008-07-05  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 539229 – gobject-query calls itself query
+
+       * gobject-query.c: Use the right binary name in help output.
+       Patch by Hiroyuki Ikezoe.
+
 2008-07-04  Michael Natterer  <mitch@imendio.com>
 
        * gobject.c: remove unused #define PREALLOC_CPARAMS.
index b13b816..7f208ed 100644 (file)
@@ -103,7 +103,7 @@ show_nodes (GType        type,
 static gint
 help (gchar *arg)
 {
-  g_fprintf (stderr, "usage: query <qualifier> [-r <type>] [-{i|b} \"\"] [-s #] [-{h|x|y}]\n");
+  g_fprintf (stderr, "usage: gobject-query <qualifier> [-r <type>] [-{i|b} \"\"] [-s #] [-{h|x|y}]\n");
   g_fprintf (stderr, "       -r       specifiy root type\n");
   g_fprintf (stderr, "       -n       don't descend type tree\n");
   g_fprintf (stderr, "       -h       guess what ;)\n");