fixed commandline parser issue with -g in directory name
Merge pull request #52 from vkorhonen/master

fixed commandline parser issue with -g in directory name