lib/heirloom/cli/show.rb in heirloom-0.4.0 vs lib/heirloom/cli/show.rb in heirloom-0.4.1rc1

- old
+ new

@@ -12,10 +12,12 @@ exit 1 unless valid_options? :provided => @opts, :required => [:name], :logger => @logger + ensure_domain_exists :name => @opts[:name], :config => @config + id = @opts[:id] ? @opts[:id] : latest_id @archive = Archive.new :name => @opts[:name], :config => @config, :id => id end @@ -49,10 +51,10 @@ opt :help, "Display Help" opt :key, "AWS Access Key ID", :type => :string opt :level, "Log level [debug|info|warn|error].", :type => :string, :default => 'info' opt :name, "Name of archive.", :type => :string - opt :id, "id of the archive to display.", :type => :string + opt :id, "ID of the archive to display.", :type => :string opt :secret, "AWS Secret Access Key", :type => :string end end end