← Tools

cpl fix

apply the fix each error suggests, then report what is left

usage: cpl fix <file.cp>...

Applies the fix each error carries (the quick fixes an editor offers),
then, once no error is left, the fixes `cpl lint --fix` makes. Rewrites the
file and reports the errors left. The exit status is 1 when an error is left.

Generated from cpl 0.2.2 (dev, a0d0078e).