lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.80 vs lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.81
- old
+ new
@@ -8,11 +8,10 @@
module PoolParty
class Optioner
include Configurable
include MethodMissingSugar
-
def initialize(args=[], opts={}, &block)
boolean_args << opts[:boolean_args] if opts.has_key?(:boolean_args)
@arguments = parse_args(args)
@extra_help = opts.has_key?(:extra_help) ? opts[:extra_help] : ""
@@ -107,10 +106,10 @@
self.loaded_clouds extract_cloud_from_options(self)
self.loaded_pools extract_pool_from_options(self)
reject_junk_options!
- raise CloudNotFoundException.new("Please specify your cloud with -s, move it to ./pool.spec or in your POOL_SPEC environment variable") unless loaded_clouds && !loaded_clouds.empty?
+ raise CloudNotFoundException.new("Please specify your cloud with -s, move it to ./clouds.pool or in your POOL_SPEC environment variable") unless loaded_clouds && !loaded_clouds.empty?
loaded_pools.each do |pl|
pl.configure(self.options)
end
loaded_clouds.each do |cl|
cl.configure(self.options)
\ No newline at end of file