vmc-ng/lib/vmc/cli/service.rb in vmc-0.4.0.beta.62 vs vmc-ng/lib/vmc/cli/service.rb in vmc-0.4.0.beta.63
- old
+ new
@@ -228,10 +228,11 @@
:display => proc(&:name)
}
input(:really, :type => :boolean, :forget => true) { |name, color|
force? || ask("Really delete #{c(name, color)}?", :default => false)
}
- input :all, :default => false, :desc => "Delete all services"
+ input :all, :type => :boolean, :default => false,
+ :desc => "Delete all services"
def delete_service
if input[:all]
return unless input[:really, "ALL SERVICES", :bad]
client.service_instances.each do |i|