[glib] gdbus-tool: Improve --help output for `gdbus wait`



commit 0e0b5dff7c908d701b5e7a26a703267d3327d09b
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Apr 3 11:53:28 2017 +0100

    gdbus-tool: Improve --help output for `gdbus wait`
    
    Include a parameter placeholder for the bus name, which is required.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 gio/gdbus-tool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c
index e4d40ff..c433e30 100644
--- a/gio/gdbus-tool.c
+++ b/gio/gdbus-tool.c
@@ -2028,7 +2028,7 @@ handle_wait (gint        *argc,
 
   modify_argv0_for_command (argc, argv, "wait");
 
-  o = g_option_context_new (NULL);
+  o = g_option_context_new (_("[OPTION…] BUS-NAME"));
   g_option_context_set_help_enabled (o, FALSE);
   g_option_context_set_summary (o, _("Wait for a bus name to appear."));
   g_option_context_add_main_entries (o, wait_entries, GETTEXT_PACKAGE);


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