c2cbd31b3ceaabcab09686c1c6ecf10c51715868

Author
Paulo Luis Franchini Casaretto <pcasaretto@gmail.com>
Committer
Paulo Luis Franchini Casaretto <pcasaretto@gmail.com>
Date

Message

Add the heroku --remote switch

This remote selects the app based on your current repo remotes
For example heroku logs --remote staging
More info at https://devcenter.heroku.com/articles/using-the-cli

Diff

 1diff --git a/plugins/heroku/_heroku b/plugins/heroku/_heroku
 2index dc899e2b2a3e07b6d36501b4b1b6f4f6211302db..a95c38647f9bde735428d46db379f331fcf62113 100644
 3--- a/plugins/heroku/_heroku
 4+++ b/plugins/heroku/_heroku
 5@@ -154,5 +154,6 @@ case "$words[1]" in
 6 _arguments \
 7   $_command_args \
 8   '(--app)--app[the app name]' \
 9+  '(--remote)--remote[the remote name]' \
10   &&  return 0
11