Document default behaviour when CPD command line arguments "encoding" and...
A source code analyzer
Brought to you by:
adangel,
juansotuyo
http://pmd.sourceforge.net/snapshot/usage/cpd-usage.html
I spent a number of hours trying to figure out why CPD wasn't working correctly when running from cron. Turns out, running from cron the encoding used was ANSI_X3.4-1968, while in a normal shell it was UTF-8.
It would've been quite helpful to know that not specifying an encoding would make it use the system default.
ignoreAnnotations also doesn't say what happens if it's not specified.
Diff: