(#1204) Fix --compile and --apply options
Forward-porting a fix from 2.6.x to the new help text locations.