lib/percheron/commands/purge.rb in percheron-0.7.6 vs lib/percheron/commands/purge.rb in percheron-0.7.7

- old
+ new

@@ -1,14 +1,14 @@ module Percheron module Commands class Purge < Abstract default_parameters! - option([ '-f', '--force' ], :flag, 'Force container/image removal', default: false) + option([ '-f', '--force' ], :flag, 'Force unit/image removal', default: false) def execute super - stack.purge!(container_names: container_names, force: force?) + stack.purge!(unit_names: unit_names, force: force?) end end end end