Add --write-combinations option.