Skip to content

Commit

Permalink
Replace trollop with optimist (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
eheydrick authored Jul 31, 2019
1 parent 5f72412 commit bf48bda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aws-cleaner.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'aws-sdk-sqs', '~> 1'
s.add_runtime_dependency 'chef-api', '~> 0.5'
s.add_runtime_dependency 'hipchat', '~> 1.5'
s.add_runtime_dependency 'optimist', '~> 3.0'
s.add_runtime_dependency 'rest-client', '~> 2'
s.add_runtime_dependency 'slack-poster', '~> 2.2'
s.add_runtime_dependency 'trollop', '~> 2.1'
end
4 changes: 2 additions & 2 deletions bin/aws_cleaner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
require 'chef-api'
require 'hipchat'
require 'rest-client'
require 'trollop'
require 'optimist'
require 'slack/poster'
require 'logger'
rescue LoadError => e
Expand Down Expand Up @@ -106,7 +106,7 @@ def closelog(message)
end

# get options
opts = Trollop.options do
opts = Optimist.options do
opt :config, 'Path to config file', type: :string, default: 'config.yml'
end

Expand Down

0 comments on commit bf48bda

Please sign in to comment.