Um, there's 0 documentation on the official docs site for either of these oakcli commands ...
Environment: X3-2 running OAK 12.2.1.4.0
# oakcli inventory --query
That was easy. Or was it? A piece of the output of this command ...
System ComponentName ComponentVersion Host AppliedDate Status AdditionalInfo
12.1.2.0.0 OAK 12.1.2.0.0 db11 2014-10-2415:23:56 SUCCESS PREPATCH
DOM0OAK 12.1.2.0.0 db11 2014-10-2415:23:56 SUCCESS PREPATCH
HUS1560SCSUN600G A780 db11 2014-10-2415:23:58 SUCCESS PREPATCH
HSCAC2DA6SUN200G A072 db11 2014-10-2415:23:58 SUCCESS PREPATCH
H109090SESUN900G A690 db11 2014-10-2415:24:0 SUCCESS PREPATCH
Z16IZF4EUSUN200G 944A db11 2014-10-2415:24:0 SUCCESS PREPATCH
So I'd like to get rid of this old stuff ...
# oakcli manage cleanrepo --ver 12.1.2.0.0
Deleting the following files...
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OAK/12.1.2.0.0/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Disk/Seagate/ST95000N/SF04/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Disk/Seagate/ST95001N/SA03/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Disk/WDC/WD500BLHXSUN/5G08/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Disk/Seagate/ST360057SSUN600G/0B25/Base
... etc ...
Yet when I re-run the inventory command, the whole 12.1.2.0.0 component list is still there; and re-running the manage cleanrepo produces the same list of "deleting ..."
Am I missing something?