Improve curve style argument handling