{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/892","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/892/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/892/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/892/events","html_url":"https://github.com/letsencrypt/letsencrypt/issues/892","id":109700765,"number":892,"title":"Bad flag error handling in CLI","user":{"login":"kuba","id":106176,"avatar_url":"https://avatars.githubusercontent.com/u/106176?v=3","gravatar_id":"","url":"https://api.github.com/users/kuba","html_url":"https://github.com/kuba","followers_url":"https://api.github.com/users/kuba/followers","following_url":"https://api.github.com/users/kuba/following{/other_user}","gists_url":"https://api.github.com/users/kuba/gists{/gist_id}","starred_url":"https://api.github.com/users/kuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuba/subscriptions","organizations_url":"https://api.github.com/users/kuba/orgs","repos_url":"https://api.github.com/users/kuba/repos","events_url":"https://api.github.com/users/kuba/events{/privacy}","received_events_url":"https://api.github.com/users/kuba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/ui%20/%20ux","name":"ui / ux","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/milestones/5","html_url":"https://github.com/letsencrypt/letsencrypt/milestones/Wishlist","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/milestones/5/labels","id":1134473,"number":5,"title":"Wishlist","description":"","creator":{"login":"pde","id":479213,"avatar_url":"https://avatars.githubusercontent.com/u/479213?v=3","gravatar_id":"","url":"https://api.github.com/users/pde","html_url":"https://github.com/pde","followers_url":"https://api.github.com/users/pde/followers","following_url":"https://api.github.com/users/pde/following{/other_user}","gists_url":"https://api.github.com/users/pde/gists{/gist_id}","starred_url":"https://api.github.com/users/pde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pde/subscriptions","organizations_url":"https://api.github.com/users/pde/orgs","repos_url":"https://api.github.com/users/pde/repos","events_url":"https://api.github.com/users/pde/events{/privacy}","received_events_url":"https://api.github.com/users/pde/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":0,"state":"open","created_at":"2015-05-26T17:47:38Z","updated_at":"2015-10-16T04:52:47Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-10-04T19:56:37Z","updated_at":"2015-10-16T06:53:49Z","closed_at":null,"body":"Misspelling flag gives very confusing error message relating to the subcommand:\r\n```\r\n$ letsencrypt --asd qwe auth\r\nusage: \r\n  letsencrypt [SUBCOMMAND] [options] [domains]\r\n\r\nThe Let's Encrypt agent can obtain and install HTTPS/TLS/SSL certificates.  By\r\ndefault, it will attempt to use a webserver both for obtaining and installing\r\nthe cert.  \r\nletsencrypt: error: argument SUBCOMMAND: invalid choice: 'qwe' (choose from 'run', 'auth', 'install', 'revoke', 'rollback', 'config_changes', 'plugins')\r\n```\r\n\r\nIt should rather say: \"`--asd` flag was not recognized\". Optionally it should suggest autocorrections."},"comment":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/comments/148632105","html_url":"https://github.com/letsencrypt/letsencrypt/issues/892#issuecomment-148632105","issue_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/892","id":148632105,"user":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T06:53:49Z","updated_at":"2015-10-16T06:53:49Z","body":"I have a fix for this that I discussed with @pde that I could implement and test in no more than a couple hours."}}