Convert --year option to Numeric.

Should fix issue #8.