{"action":"opened","issue":{"url":"https://api.github.com/repos/nessos/UnionArgParser/issues/31","labels_url":"https://api.github.com/repos/nessos/UnionArgParser/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/nessos/UnionArgParser/issues/31/comments","events_url":"https://api.github.com/repos/nessos/UnionArgParser/issues/31/events","html_url":"https://github.com/nessos/UnionArgParser/issues/31","id":58507441,"number":31,"title":"Parser throws on missing mandatory argument when usage is requested","user":{"login":"theimowski","id":5909015,"avatar_url":"https://avatars.githubusercontent.com/u/5909015?v=3","gravatar_id":"","url":"https://api.github.com/users/theimowski","html_url":"https://github.com/theimowski","followers_url":"https://api.github.com/users/theimowski/followers","following_url":"https://api.github.com/users/theimowski/following{/other_user}","gists_url":"https://api.github.com/users/theimowski/gists{/gist_id}","starred_url":"https://api.github.com/users/theimowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theimowski/subscriptions","organizations_url":"https://api.github.com/users/theimowski/orgs","repos_url":"https://api.github.com/users/theimowski/repos","events_url":"https://api.github.com/users/theimowski/events{/privacy}","received_events_url":"https://api.github.com/users/theimowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-22T16:03:54Z","updated_at":"2015-02-22T16:03:54Z","closed_at":null,"body":"    type Args =\r\n        | [<Mandatory>] X of string\r\n    with \r\n        interface IArgParserTemplate with \r\n            member this.Usage = \"\"\r\n    \r\n    let parser = UnionArgParser.Create<Args>()\r\n    \r\n    parser.Parse(raiseOnUsage = false, inputs = [|\"--help\"|])\r\n\r\nthrows \r\n\r\n    System.ArgumentException: missing parameter '--x'.\r\n    \r\n        --x <string>: \r\n        --help [-h|/h|/help|/?]: display this list of options.\r\n    \r\n       at Nessos.UnionArgParser.ExceptionExiter.Nessos-UnionArgParser-IExiter-Exit[b](String msg, FSharpOption`1 _arg1) in c:\\Users\\eirik\\Development\\nessos\\UnionArgParser\\src\\UnionArgParser\\Types.fs:line 28\r\n       at Nessos.UnionArgParser.UnionArgParser`1.Parse(FSharpOption`1 inputs, FSharpOption`1 xmlConfigurationFile, FSharpOption`1 errorHandler, FSharpOption`1 ignoreMissing, FSharpOption`1 ignoreUnrecognized, FSharpOption`1 raiseOnUsage) in c:\\Users\\eirik\\Development\\nessos\\UnionArgParser\\src\\UnionArgParser\\UnionArgParser.fs:line 136\r\n\r\n"}}