use double dash for options according to version; retreive version on initialize; (issue #321)
Merge pull request #322 from nlevchuk/issue_321_double_dash_in_options

Use double dash in options according to version