rounded linestyle

when printed, the ends of my lines are rounded. i have been shown how to change this but have forgotten.

i would like the gaps of the linestyle to be sharp.

is there a way to do this?