What is the version of the following sentence with correct punctuation?

Make buttonholes when piece measures
Make buttonholes when piece measures: