heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

heroku run -- myapp --help fails #2047

Closed duane-talentsonar closed 7 years ago

duane-talentsonar commented 7 years ago

When running a remote command line with heroku, the --help and -h options fail locally without running the remote.

$ heroku run --app $app -- myapp --help
 !    myapp is not a heroku command. See `heroku help`.
$ heroku run --app $app -- myapp -h
 !    myapp is not a heroku command. See `heroku help`.
$ heroku run --app $app -- myapp --option
Running myapp --option on ⬢ myserver... connecting, run.9102 (Standard-1X)

The -- option should separate command line options for the sub-command from the command line options for heroku.

jdx commented 7 years ago

this is fixed now