From 0e0b5dff7c908d701b5e7a26a703267d3327d09b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 3 Apr 2017 11:53:28 +0100 Subject: [PATCH] gdbus-tool: Improve --help output for `gdbus wait` Include a parameter placeholder for the bus name, which is required. Signed-off-by: Philip Withnall --- gio/gdbus-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c index e4d40ffb9..c433e30b3 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);