mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 16:38:43 +02:00
gi-inspect-repository: Change --version argument to --typelib-version
`--version` is conventionally used to find the version of the program itself. While that’s not currently implemented in `gi-inspect-repository`, let’s not box ourselves into a corner. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
@@ -68,7 +68,7 @@ main (gint argc,
|
||||
GStrv namespaces = NULL;
|
||||
const gchar *namespace = NULL;
|
||||
const GOptionEntry options[] = {
|
||||
{ "version", 0, 0, G_OPTION_ARG_STRING, &version, "Typelib version to inspect", "VERSION" },
|
||||
{ "typelib-version", 0, 0, G_OPTION_ARG_STRING, &version, "Typelib version to inspect", "VERSION" },
|
||||
{ "print-shlibs", 0, 0, G_OPTION_ARG_NONE, &opt_shlibs, "List the shared libraries the typelib requires", NULL },
|
||||
{ "print-typelibs", 0, 0, G_OPTION_ARG_NONE, &opt_typelibs, "List other typelibs the inspected typelib requires", NULL },
|
||||
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &namespaces, "The typelib to inspect", "NAMESPACE" },
|
||||
|
Reference in New Issue
Block a user