compress options down to one line