diff-parseopt: convert --histogram