java -jar casereport.jar OR java -jar casereport.jar srcFileList targetFileList OR java -jar casereport.jar srcAndTargetDir Options: -o outfile Output to 'outfile' instead of CaseRePort.out -q Be quiet, don't report skipped files -xml Output in XML format -h Print this help and exit
The output file lists the filenames that were referenced in wrong case. For example, you might see:
file1.txtThis means the following: file2.c at line 10 has contents f=open("File1.txt");. But there was found no File1.txt, there was file1.txt
file2.c:10: f=open("File1.txt");
Another case is when there are two files with name differing only in case. If their parent (grandparent, etc.) directories are different, then the tool can determine the right file from the name that precedes the filename. For example, if thre are files dir1/dir2/dir3/file1.c and dir4/dir2/dir3/FILE1.C, the tool will determine that in code ulink("dir10/dir1/dir2/dir3/file1.c"); the case of the file is probably correct. But as this check is not reliable, the source line will still be listed in the report in Looks right section:
file1.c:different cases dir1/dir2/dir3/file1.c dir4/dir2/dir3/FILE1.C Looks right: source.c:152: ulink("dir10/dir1/dir2/dir3/file1.c");