{"action":"created","issue":{"url":"https://api.github.com/repos/amireh/lua_cliargs/issues/27","labels_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/27/comments","events_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/27/events","html_url":"https://github.com/amireh/lua_cliargs/pull/27","id":55998349,"number":27,"title":"Fix short-key notation for optional arguments","user":{"login":"o-lim","id":10095424,"avatar_url":"https://avatars.githubusercontent.com/u/10095424?v=3","gravatar_id":"","url":"https://api.github.com/users/o-lim","html_url":"https://github.com/o-lim","followers_url":"https://api.github.com/users/o-lim/followers","following_url":"https://api.github.com/users/o-lim/following{/other_user}","gists_url":"https://api.github.com/users/o-lim/gists{/gist_id}","starred_url":"https://api.github.com/users/o-lim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o-lim/subscriptions","organizations_url":"https://api.github.com/users/o-lim/orgs","repos_url":"https://api.github.com/users/o-lim/repos","events_url":"https://api.github.com/users/o-lim/events{/privacy}","received_events_url":"https://api.github.com/users/o-lim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-30T06:10:09Z","updated_at":"2015-02-22T23:40:15Z","closed_at":"2015-02-22T23:40:15Z","pull_request":{"url":"https://api.github.com/repos/amireh/lua_cliargs/pulls/27","html_url":"https://github.com/amireh/lua_cliargs/pull/27","diff_url":"https://github.com/amireh/lua_cliargs/pull/27.diff","patch_url":"https://github.com/amireh/lua_cliargs/pull/27.patch"},"body":"This fixes short-key notation for optional arguments when they are of the form `-sk VALUE`, such that\r\n```lua\r\ncli:add_opt(\"-sk VALUE\", \"short-key description\")\r\n```\r\nwill not generate an error.\r\n\r\nWithout this fix the following error would be generated:\r\n```\r\n$ app.lua -sk value\r\nerror: unknown/bad flag; -sk; re-run with --help for usage\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/amireh/lua_cliargs/issues/comments/75472128","html_url":"https://github.com/amireh/lua_cliargs/pull/27#issuecomment-75472128","issue_url":"https://api.github.com/repos/amireh/lua_cliargs/issues/27","id":75472128,"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":"2015-02-22T23:40:15Z","updated_at":"2015-02-22T23:40:15Z","body":"Merged, thank you."}}