Options "-profile" and "-excludeprofile" not working in version 12.2.0.1.2!
The latest version of both ORAchk and EXAchk (VERSION: 12.2.0.1.2_20161215) seems to bugs related to the ability to include or exclude profiles and checks.
Following the examples as shown in the documentation (http://docs.oracle.com/cd/E68491_01/OEXUG/running-subsets-of-checks.htm) results in errors. Specifically, if the "-profile <profile_name>" or "-excludeprofile <profile_name>" options are used (literally cutting and pasting syntax directly from the documentation) doesn't work and returns the "display_usage" as if an invalid command line argument was entered.
Similarly using "-excludecheck <check_id>" executes but doesn't actually exclude the check.
Samples:
./orachk –profile dba,clusterware
./orachk –excludeprofile dba,clusterware,ebs