mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-25 03:17:52 +02:00
girepository: Provide placeholders for positional parameters
Otherwise, correct invocation isn't clear from the --help output. This does not introduce new translated strings: FILE was already translated. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -164,7 +164,8 @@ main (int argc, char **argv)
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
context = g_option_context_new ("");
|
||||
/* Translators: commandline placeholder */
|
||||
context = g_option_context_new (_("FILE"));
|
||||
g_option_context_add_main_entries (context, options, NULL);
|
||||
g_option_context_parse (context, &argc, &argv, &error);
|
||||
g_option_context_free (context);
|
||||
|
Reference in New Issue
Block a user