{"action":"closed","issue":{"url":"https://api.github.com/repos/rjbs/Getopt-Long-Descriptive/issues/12","repository_url":"https://api.github.com/repos/rjbs/Getopt-Long-Descriptive","labels_url":"https://api.github.com/repos/rjbs/Getopt-Long-Descriptive/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/rjbs/Getopt-Long-Descriptive/issues/12/comments","events_url":"https://api.github.com/repos/rjbs/Getopt-Long-Descriptive/issues/12/events","html_url":"https://github.com/rjbs/Getopt-Long-Descriptive/issues/12","id":53781005,"number":12,"title":"implies should override default","user":{"login":"SineSwiper","id":1041375,"avatar_url":"https://avatars0.githubusercontent.com/u/1041375?v=4","gravatar_id":"","url":"https://api.github.com/users/SineSwiper","html_url":"https://github.com/SineSwiper","followers_url":"https://api.github.com/users/SineSwiper/followers","following_url":"https://api.github.com/users/SineSwiper/following{/other_user}","gists_url":"https://api.github.com/users/SineSwiper/gists{/gist_id}","starred_url":"https://api.github.com/users/SineSwiper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SineSwiper/subscriptions","organizations_url":"https://api.github.com/users/SineSwiper/orgs","repos_url":"https://api.github.com/users/SineSwiper/repos","events_url":"https://api.github.com/users/SineSwiper/events{/privacy}","received_events_url":"https://api.github.com/users/SineSwiper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-01-08T18:03:48Z","updated_at":"2018-02-13T15:48:34Z","closed_at":"2018-02-13T15:48:34Z","author_association":"NONE","body":"Consider this case:\n\n```\n[ 'a' => \"Option A.  Off by default.\" => { default => 0 } ],\n[ 'b' => \"Option B.  Implies 'a'.\"    => { default => 0, implies => 'a' } ],\n```\n\nThis option set ran as-is (using \"cmd -b\") would error with:\n\n```\noption specification for b implies that a should be set to '1', but it is '0' already\n```\n\nIt's only zero because the default is zero.  However, with option B enabled, the 'implies' attr should override the default.\n"}}
{"actor":{"display_login":"SineSwiper"}}