fixed option parsing (opt.on returned nil)
Merge pull request #12 from planthaber/webapp_fix_commandline

fixed option parsing (opt.on returned nil)