{"action":"created","issue":{"url":"https://api.github.com/repos/amireh/lua_cliargs/issues/52","labels_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/52/comments","events_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/52/events","html_url":"https://github.com/amireh/lua_cliargs/pull/52","id":113443276,"number":52,"title":"Fixed an issue when trying to print help for a nil default option value.","user":{"login":"cjtallman","id":11683274,"avatar_url":"https://avatars.githubusercontent.com/u/11683274?v=3","gravatar_id":"","url":"https://api.github.com/users/cjtallman","html_url":"https://github.com/cjtallman","followers_url":"https://api.github.com/users/cjtallman/followers","following_url":"https://api.github.com/users/cjtallman/following{/other_user}","gists_url":"https://api.github.com/users/cjtallman/gists{/gist_id}","starred_url":"https://api.github.com/users/cjtallman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjtallman/subscriptions","organizations_url":"https://api.github.com/users/cjtallman/orgs","repos_url":"https://api.github.com/users/cjtallman/repos","events_url":"https://api.github.com/users/cjtallman/events{/privacy}","received_events_url":"https://api.github.com/users/cjtallman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-26T20:22:50Z","updated_at":"2016-01-12T11:13:41Z","closed_at":"2015-10-27T07:52:53Z","pull_request":{"url":"https://api.github.com/repos/amireh/lua_cliargs/pulls/52","html_url":"https://github.com/amireh/lua_cliargs/pull/52","diff_url":"https://github.com/amireh/lua_cliargs/pull/52.diff","patch_url":"https://github.com/amireh/lua_cliargs/pull/52.patch"},"body":"I found an issue with the print_help function when the optargument has a nil default value.\r\n\r\nMy repro was this:\r\n```lua\r\nlocal cli = require(\"cliargs\")\r\ncli:optarg(\"foo\", \"bar\")\r\ncli:parse({\"--help\"})\r\n```"},"comment":{"url":"https://api.github.com/repos/amireh/lua_cliargs/issues/comments/170878995","html_url":"https://github.com/amireh/lua_cliargs/pull/52#issuecomment-170878995","issue_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/52","id":170878995,"user":{"login":"amireh","id":153786,"avatar_url":"https://avatars.githubusercontent.com/u/153786?v=3","gravatar_id":"","url":"https://api.github.com/users/amireh","html_url":"https://github.com/amireh","followers_url":"https://api.github.com/users/amireh/followers","following_url":"https://api.github.com/users/amireh/following{/other_user}","gists_url":"https://api.github.com/users/amireh/gists{/gist_id}","starred_url":"https://api.github.com/users/amireh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amireh/subscriptions","organizations_url":"https://api.github.com/users/amireh/orgs","repos_url":"https://api.github.com/users/amireh/repos","events_url":"https://api.github.com/users/amireh/events{/privacy}","received_events_url":"https://api.github.com/users/amireh/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T11:13:41Z","updated_at":"2016-01-12T11:13:41Z","body":"3.0-1 is out if you want to try it! Please take the time to report any regressions (crossing fingers there are none!)"}}