{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/click/issues/458","labels_url":"https://api.github.com/repos/mitsuhiko/click/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/click/issues/458/comments","events_url":"https://api.github.com/repos/mitsuhiko/click/issues/458/events","html_url":"https://github.com/mitsuhiko/click/issues/458","id":117709146,"number":458,"title":"Error in documentation","user":{"login":"OnionNinja","id":591458,"avatar_url":"https://avatars.githubusercontent.com/u/591458?v=3","gravatar_id":"","url":"https://api.github.com/users/OnionNinja","html_url":"https://github.com/OnionNinja","followers_url":"https://api.github.com/users/OnionNinja/followers","following_url":"https://api.github.com/users/OnionNinja/following{/other_user}","gists_url":"https://api.github.com/users/OnionNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/OnionNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnionNinja/subscriptions","organizations_url":"https://api.github.com/users/OnionNinja/orgs","repos_url":"https://api.github.com/users/OnionNinja/repos","events_url":"https://api.github.com/users/OnionNinja/events{/privacy}","received_events_url":"https://api.github.com/users/OnionNinja/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-18T23:52:32Z","updated_at":"2015-11-18T23:57:03Z","closed_at":"2015-11-18T23:57:03Z","body":"Hi there,\r\n\r\nthere is a minor error in the docs [here](http://click.pocoo.org/5/options/#yes-parameters) with `prompt` instead of `help`.\r\n\r\nInstead of \r\n```python\r\n@click.command()\r\n@click.confirmation_option(help='Are you sure you want to drop the db?')\r\ndef dropdb():\r\n    click.echo('Dropped all tables!')\r\n```\r\nIt should be \r\n```python\r\n@click.command()\r\n@click.confirmation_option(prompt='Are you sure you want to drop the db?')\r\ndef dropdb():\r\n    click.echo('Dropped all tables!')\r\n```\r\n**Cheers!**"},"comment":{"url":"https://api.github.com/repos/mitsuhiko/click/issues/comments/157902703","html_url":"https://github.com/mitsuhiko/click/issues/458#issuecomment-157902703","issue_url":"https://api.github.com/repos/mitsuhiko/click/issues/458","id":157902703,"user":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T23:57:03Z","updated_at":"2015-11-18T23:57:03Z","body":"This is already fixed in latest docs. 09583679ab7b235039ca712c9b044ac397c64322"}}