cutting contourlines with osmosis

i’m trying to cut srtm2osm-generated contourlines with osmosis using the --bp option. osmosis obviously auto-closes the lines along the boundary, so i get a lot of straight fake contourlines. is there any way to prevent that?

greets, micha