improve initcode readability
fix how to handle -c option.