reuse getopt
bump version into 0.0.12
Merge branch 'hotfix/0.0.12'