{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/2924","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/2924/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/2924/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/2924/events","html_url":"https://github.com/aspnet/dnx/issues/2924","id":110131539,"number":2924,"title":"Forwarded options for dnx stops parsing of subsequent commands","user":{"login":"JunTaoLuo","id":2030323,"avatar_url":"https://avatars.githubusercontent.com/u/2030323?v=3","gravatar_id":"","url":"https://api.github.com/users/JunTaoLuo","html_url":"https://github.com/JunTaoLuo","followers_url":"https://api.github.com/users/JunTaoLuo/followers","following_url":"https://api.github.com/users/JunTaoLuo/following{/other_user}","gists_url":"https://api.github.com/users/JunTaoLuo/gists{/gist_id}","starred_url":"https://api.github.com/users/JunTaoLuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunTaoLuo/subscriptions","organizations_url":"https://api.github.com/users/JunTaoLuo/orgs","repos_url":"https://api.github.com/users/JunTaoLuo/repos","events_url":"https://api.github.com/users/JunTaoLuo/events{/privacy}","received_events_url":"https://api.github.com/users/JunTaoLuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T00:46:26Z","updated_at":"2015-10-07T00:46:26Z","closed_at":null,"body":"There are some forward options for dnx like `--packages` and once `RuntimeBootstrapper` encounters them, everything after the options are forwarded to `ApplicationHost`. Since the user does not know that these options are forwarded, they may place the command after the option and `ApplicationHost` will be unable to parse the option as a command.\r\n\r\nTo illustrate:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2030323/10326579/ce3d0ca2-6c51-11e5-8b03-50de31562a46.png)\r\n\r\nNote how `dnx kestrel --packages packages` works because the command `kestrel` comes before the forwarded option `--packages` whereas  `dnx --packages packages kestrel` won't work `since --packages` was parsed as a command instead of `kestrel`.\r\n\r\nAt least we should indicate to the user the forwarded options should come after the command."}}