fix #992 by creating fake command line arguments
Merge pull request #1000 from chrox/fix_992

fix #992 by creating fake command line arguments