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>
This commit is contained in:
Philip Withnall 2017-04-03 11:53:28 +01:00
parent fe2813b842
commit 0e0b5dff7c

View File

@ -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);