Add -split-on, -split-when
Merge pull request #77 from Fuco1/split-when

Add -split-on, -split-when