cli added -p option to spec