{"action":"closed","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1894","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1894/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1894/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1894/events","html_url":"https://github.com/wp-cli/wp-cli/issues/1894","id":90523635,"number":1894,"title":"Associative arguments with null values are interpreted as positional arguments","user":{"login":"JRGould","id":1509647,"avatar_url":"https://avatars.githubusercontent.com/u/1509647?v=3","gravatar_id":"","url":"https://api.github.com/users/JRGould","html_url":"https://github.com/JRGould","followers_url":"https://api.github.com/users/JRGould/followers","following_url":"https://api.github.com/users/JRGould/following{/other_user}","gists_url":"https://api.github.com/users/JRGould/gists{/gist_id}","starred_url":"https://api.github.com/users/JRGould/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JRGould/subscriptions","organizations_url":"https://api.github.com/users/JRGould/orgs","repos_url":"https://api.github.com/users/JRGould/repos","events_url":"https://api.github.com/users/JRGould/events{/privacy}","received_events_url":"https://api.github.com/users/JRGould/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/scope:framework","name":"scope:framework","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-24T00:11:55Z","updated_at":"2015-09-19T18:54:11Z","closed_at":"2015-09-19T18:54:11Z","body":"Running a command like:\r\n```bash\r\n$ wp db export db.sql --path=''\r\n``` \r\nresults in the error: `Error: Too many positional arguments: --path=`\r\n\r\nLikewise, running \r\n```bash\r\n$ wp db export --path=\r\n```\r\nWill successfully export your database to `./--path=` \r\n\r\nExpected outcome would be for `--path=''` and `--path=` to be interpreted as associative arguments with null values and let (sub)commands determine if this should throw an error.\r\n\r\n\r\n\r\n\r\n"}}