{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1984","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1984/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1984/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1984/events","html_url":"https://github.com/wp-cli/wp-cli/pull/1984","id":101444755,"number":1984,"title":"Add the docroot option to the synopsis so wp-cli parses it as a valid option","user":{"login":"marcaddeo","id":199649,"avatar_url":"https://avatars.githubusercontent.com/u/199649?v=3","gravatar_id":"","url":"https://api.github.com/users/marcaddeo","html_url":"https://github.com/marcaddeo","followers_url":"https://api.github.com/users/marcaddeo/followers","following_url":"https://api.github.com/users/marcaddeo/following{/other_user}","gists_url":"https://api.github.com/users/marcaddeo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcaddeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcaddeo/subscriptions","organizations_url":"https://api.github.com/users/marcaddeo/orgs","repos_url":"https://api.github.com/users/marcaddeo/repos","events_url":"https://api.github.com/users/marcaddeo/events{/privacy}","received_events_url":"https://api.github.com/users/marcaddeo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/scope:command","name":"scope:command","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wp-cli/wp-cli/milestones/29","html_url":"https://github.com/wp-cli/wp-cli/milestones/next","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/milestones/29/labels","id":1084239,"number":29,"title":"next","description":null,"creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":55,"state":"open","created_at":"2015-04-26T21:01:39Z","updated_at":"2015-08-17T18:28:55Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-17T15:14:34Z","updated_at":"2015-08-18T22:58:36Z","closed_at":"2015-08-17T18:28:50Z","pull_request":{"url":"https://api.github.com/repos/wp-cli/wp-cli/pulls/1984","html_url":"https://github.com/wp-cli/wp-cli/pull/1984","diff_url":"https://github.com/wp-cli/wp-cli/pull/1984.diff","patch_url":"https://github.com/wp-cli/wp-cli/pull/1984.patch"},"body":"Was getting the following error when trying to run the `server` command:\r\n\r\n```bash\r\n$ php wp-cli-nightly.phar server --host=0.0.0.0 --port=8888 --docroot=web/wp\r\nError: Parameter errors:\r\n unknown --docroot parameter\r\n```\r\n\r\nThis addresses that by adding the option to the `@synopsis` annotation, allowing `wp-cli` to parse it and use it as a valid option."},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/132385079","html_url":"https://github.com/wp-cli/wp-cli/pull/1984#issuecomment-132385079","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1984","id":132385079,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T22:58:35Z","updated_at":"2015-08-18T22:58:35Z","body":"Noted for #1969"}}