lib/heirloom/cli/list.rb in heirloom-0.5.0rc2 vs lib/heirloom/cli/list.rb in heirloom-0.5.0rc3
- old
+ new
@@ -30,24 +30,26 @@
def read_options
Trollop::options do
version Heirloom::VERSION
banner <<-EOS
-List versions of archive.
+List available IDs of archive.
Usage:
heirloom list -n NAME
EOS
- opt :count, "Number of versions to return.", :type => :integer,
- :default => 10
+ opt :count, "Number of IDs to return.", :type => :integer,
+ :default => 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 :secret, "AWS Secret Access Key", :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
end
end
end