diff --git a/lib/aptible/cli/helpers/app.rb b/lib/aptible/cli/helpers/app.rb index bc582e15..9043b2c2 100644 --- a/lib/aptible/cli/helpers/app.rb +++ b/lib/aptible/cli/helpers/app.rb @@ -15,7 +15,7 @@ module App module ClassMethods def app_options option :app - option :environment + option :environment, aliases: '--env' option :remote, aliases: '-r' end end diff --git a/lib/aptible/cli/helpers/vhost/option_set_builder.rb b/lib/aptible/cli/helpers/vhost/option_set_builder.rb index 49e90a48..56da30f4 100644 --- a/lib/aptible/cli/helpers/vhost/option_set_builder.rb +++ b/lib/aptible/cli/helpers/vhost/option_set_builder.rb @@ -20,7 +20,7 @@ def initialize(&block) def declare_options(thor) thor.instance_exec(self) do |builder| - option :environment + option :environment, aliases: '--env' if builder.database? option :database