{"action":"created","issue":{"url":"https://api.github.com/repos/leejarvis/slop/issues/163","labels_url":"https://api.github.com/repos/leejarvis/slop/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/leejarvis/slop/issues/163/comments","events_url":"https://api.github.com/repos/leejarvis/slop/issues/163/events","html_url":"https://github.com/leejarvis/slop/issues/163","id":62410731,"number":163,"title":"Option w/default and block raises exception","user":{"login":"MadBomber","id":21101,"avatar_url":"https://avatars.githubusercontent.com/u/21101?v=3","gravatar_id":"","url":"https://api.github.com/users/MadBomber","html_url":"https://github.com/MadBomber","followers_url":"https://api.github.com/users/MadBomber/followers","following_url":"https://api.github.com/users/MadBomber/following{/other_user}","gists_url":"https://api.github.com/users/MadBomber/gists{/gist_id}","starred_url":"https://api.github.com/users/MadBomber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadBomber/subscriptions","organizations_url":"https://api.github.com/users/MadBomber/orgs","repos_url":"https://api.github.com/users/MadBomber/repos","events_url":"https://api.github.com/users/MadBomber/events{/privacy}","received_events_url":"https://api.github.com/users/MadBomber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/leejarvis/slop/labels/bug","name":"bug","color":"ff002b"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T14:20:41Z","updated_at":"2015-03-17T15:23:06Z","closed_at":null,"body":"This may actually be the prefered behavior but it was not what I expceted when I first used this construct.  Here is what I wanted to do:\r\n```Ruby\r\no,string '-n','--name','print hello <name>', default: 'world' do |a_string|\r\n  puts \"Hello #{a_string}\"\r\nend\r\n```\r\nInstead of getting my expected \"Hello world\" I got an argument missing exception.  I can use the suppress_errors: true option to silence the exception BUT I get \"Hello\" without the expected default.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/leejarvis/slop/issues/comments/82409714","html_url":"https://github.com/leejarvis/slop/issues/163#issuecomment-82409714","issue_url":"https://api.github.com/repos/leejarvis/slop/issues/163","id":82409714,"user":{"login":"leejarvis","id":197567,"avatar_url":"https://avatars.githubusercontent.com/u/197567?v=3","gravatar_id":"","url":"https://api.github.com/users/leejarvis","html_url":"https://github.com/leejarvis","followers_url":"https://api.github.com/users/leejarvis/followers","following_url":"https://api.github.com/users/leejarvis/following{/other_user}","gists_url":"https://api.github.com/users/leejarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/leejarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leejarvis/subscriptions","organizations_url":"https://api.github.com/users/leejarvis/orgs","repos_url":"https://api.github.com/users/leejarvis/repos","events_url":"https://api.github.com/users/leejarvis/events{/privacy}","received_events_url":"https://api.github.com/users/leejarvis/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T15:23:06Z","updated_at":"2015-03-17T15:23:06Z","body":"I agree with you on the expected behaviour and I've marked this as a bug. Will fix it in a couple of hours. Thanks for reporting"}}