{"action":"reopened","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/1493","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/1493/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/1493/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/1493/events","html_url":"https://github.com/drush-ops/drush/issues/1493","id":94955823,"number":1493,"title":"user-login to a remote host does not pass along a cli override of --uri option","user":{"login":"ian-rose","id":3975428,"avatar_url":"https://avatars.githubusercontent.com/u/3975428?v=3","gravatar_id":"","url":"https://api.github.com/users/ian-rose","html_url":"https://github.com/ian-rose","followers_url":"https://api.github.com/users/ian-rose/followers","following_url":"https://api.github.com/users/ian-rose/following{/other_user}","gists_url":"https://api.github.com/users/ian-rose/gists{/gist_id}","starred_url":"https://api.github.com/users/ian-rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ian-rose/subscriptions","organizations_url":"https://api.github.com/users/ian-rose/orgs","repos_url":"https://api.github.com/users/ian-rose/repos","events_url":"https://api.github.com/users/ian-rose/events{/privacy}","received_events_url":"https://api.github.com/users/ian-rose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"greg-1-anderson","id":612191,"avatar_url":"https://avatars.githubusercontent.com/u/612191?v=3","gravatar_id":"","url":"https://api.github.com/users/greg-1-anderson","html_url":"https://github.com/greg-1-anderson","followers_url":"https://api.github.com/users/greg-1-anderson/followers","following_url":"https://api.github.com/users/greg-1-anderson/following{/other_user}","gists_url":"https://api.github.com/users/greg-1-anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-1-anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-1-anderson/subscriptions","organizations_url":"https://api.github.com/users/greg-1-anderson/orgs","repos_url":"https://api.github.com/users/greg-1-anderson/repos","events_url":"https://api.github.com/users/greg-1-anderson/events{/privacy}","received_events_url":"https://api.github.com/users/greg-1-anderson/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-07-14T14:23:50Z","updated_at":"2015-07-30T21:39:32Z","closed_at":null,"body":"I have an `example.aliases.drushrc.php` file with contents of:\r\n\r\n```php\r\n<?php\r\n$aliases['prod'] = array(\r\n  'parent' => '@parent',\r\n  'site' => 'example',\r\n  'env' => 'prod',\r\n  'root' => '/path/to/drupal',\r\n  'remote-host' => 'server.tld',\r\n  'remote-user' => 'example',\r\n  'uri' => 'www.example.com',\r\n);\r\n```\r\n\r\nWhen I run `drush @example.prod uli` the command returns `http://www.example.com/user/reset/1/[token]/login`.\r\n\r\nWhen I run `drush @example.prod uli -l edit.example.com` I expect to get `http://edit.example.com/user/reset/1/[token]/login`, but instead the command returns `http://www.example.com/user/reset/1/[token]/login`\r\n\r\nI believe this is an issue, as command-line arguments should override any defaults defined in an alias."}}