fixed option parsing (opt.on returned nil)

Setting paramaters in the command line returned a nil object in the option block, a paramater must be stated in the first argument, otherwise the option is treated as boolan option.