lib/heirloom/cli/show.rb in heirloom-0.5.0rc2 vs lib/heirloom/cli/show.rb in heirloom-0.5.0rc3
- old
+ new
@@ -37,25 +37,27 @@
def read_options
Trollop::options do
version Heirloom::VERSION
banner <<-EOS
-Show details about a version of an archive.
+Show archive.
Usage:
heirloom show -n NAME -i ID
-If -i is ommited, latest version is displayed.
+If -i is ommited, latest ID is displayed.
EOS
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 :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