lib/heirloom/cli/destroy.rb in heirloom-0.6.1 vs lib/heirloom/cli/destroy.rb in heirloom-0.7.0rc1
- old
+ new
@@ -25,33 +25,33 @@
ensure_archive_exists :archive => @archive,
:config => @config
end
def destroy
- @archive.destroy :keep_domain => false
+ @archive.destroy
end
private
def read_options
Trollop::options do
version Heirloom::VERSION
banner <<-EOS
-Destroy an archive.
+Destroy an Heirloom.
Usage:
heirloom destroy -n NAME -i ID
EOS
opt :help, "Display Help"
- opt :id, "ID of the archive to display.", :type => :string
+ opt :id, "ID of the Heirloom to display.", :type => :string
opt :level, "Log level [debug|info|warn|error].", :type => :string,
:default => 'info'
opt :metadata_region, "AWS region to store Heirloom metadata.", :type => :string,
:default => 'us-west-1'
- opt :name, "Name of archive.", :type => :string
+ opt :name, "Name of Heirloom.", :type => :string
opt :aws_access_key, "AWS Access Key ID", :type => :string,
:short => :none
opt :aws_secret_key, "AWS Secret Access Key", :type => :string,
:short => :none
end