diff --git a/girepository/compiler/compiler.c b/girepository/compiler/compiler.c index 120b474a7..580ae2b04 100644 --- a/girepository/compiler/compiler.c +++ b/girepository/compiler/compiler.c @@ -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);