+
+sub usage {
+ print "Gamebook lintian checker - reads from standard input a gamebook XML file and prints out possible errors\n\n";
+ print "Usage: gblint.pl [-e <NUMBER>] [-s <NUMBER>] [-i <TEXT>] [--use-corr] [--skip-ASCII-check] [--language CODE]\n";
+ print "Options:\n";
+ print "\t-e <NUMBER>\tStops when NUMBER errors have been reached (by default it does not stop)\n";
+ print "\t-s <NUMBER>\tSkips NUMBER of lines before analysing\n";
+ print "\t-i <TEXT>\tAdds TEXT to error messages (default: '??')\n";
+ print "\t--use-corr\tPrints correction in report (default: disabled)\n";
+ print "\t--skip-ASCII-check\tDoes not check for non-ASCCI characters (default: enabled)\n";
+ print "\t--language CODE\tDefines the language of the gamebook file (default: 'en'\n";
+ print "\t-h\tPrint this help and exit\n";
+}