Minor bug fixes.

diff --git a/tools/winapi_check/winapi_options.pm b/tools/winapi_check/winapi_options.pm
index 90f7e2d..533a793 100644
--- a/tools/winapi_check/winapi_options.pm
+++ b/tools/winapi_check/winapi_options.pm
@@ -205,6 +205,10 @@
 	}
     }
 
+    if($self->help) {
+	return $self;
+    }
+
     my $c_paths;
     if($#$c_files == -1 || ($#$c_files == 0 && $$c_files[0] eq $wine_dir)) {
 	$c_paths = ".";