parse option as an int
Merge pull request #32 from grota/fix_continuous_mode

Continuous mode: parse option as an int