Index: source/tools/entity/checkrefs.pl =================================================================== --- source/tools/entity/checkrefs.pl +++ source/tools/entity/checkrefs.pl @@ -4,9 +4,13 @@ use File::Find; use XML::Simple; use JSON; +use Getopt::Std; use Entity; +my %options=(); +getopts("u", \%options); + use constant CHECK_MAPS_XML => 0; use constant ROOT_ACTORS => 1; @@ -578,4 +582,4 @@ print "\n"; check_deps(); print "\n"; -check_unused(); +check_unused() if defined $options{u};