mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
gdbus: Add command-line placeholder for ADDRESS
If we don't do this, the --help text is formatted as though the option did not expect an argument. This introduces a new translated string, but it is developer-oriented, so a missing translation is not particularly bad. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
1a8e2228f6
commit
5622a4a625
@ -404,7 +404,7 @@ static const GOptionEntry connection_entries[] =
|
||||
{
|
||||
{ "system", 'y', 0, G_OPTION_ARG_NONE, &opt_connection_system, N_("Connect to the system bus"), NULL},
|
||||
{ "session", 'e', 0, G_OPTION_ARG_NONE, &opt_connection_session, N_("Connect to the session bus"), NULL},
|
||||
{ "address", 'a', 0, G_OPTION_ARG_STRING, &opt_connection_address, N_("Connect to given D-Bus address"), NULL},
|
||||
{ "address", 'a', 0, G_OPTION_ARG_STRING, &opt_connection_address, N_("Connect to given D-Bus address"), N_("ADDRESS") },
|
||||
G_OPTION_ENTRY_NULL
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user