Rearrange arguments to listopts.