mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Merge branch 'wip/smcv/gi-compiler-only-one' into 'main'
g-ir-compiler: Only accept one input file See merge request GNOME/glib!3927
This commit is contained in:
commit
803508f9a9
@ -197,6 +197,12 @@ main (int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (g_strv_length (input) != 1)
|
||||
{
|
||||
g_printerr ("Please specify only one input file\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
g_debug ("[parsing] start, %d includes",
|
||||
includedirs ? g_strv_length (includedirs) : 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user