Needless check
Extract option parser for better readability