Using the -y Option to Perform Repairs
Use the -y option to instruct oncheck to perform repairs automatically.
If you do not use the -y option, oncheck prompts you when it encounters an inconsistency and allows you to request a repair. If you specify option -n, oncheck does not prompt you because this option instructs oncheck to not perform repairs.
The following examples show automatic repair
commands for the oncheck utility:
oncheck -cd -y
oncheck -cD -y
oncheck -ci -y
oncheck -cI -y