Merge pull request #251 from porvak/feature/fix-nuke-flags

nuke script not using receipts or gitconfig flags
This commit is contained in:
Rafael Mendonça França 2013-06-24 19:58:40 -07:00
commit 929ba27365

View file

@ -10,6 +10,8 @@ all = false
force = false force = false
opt = false opt = false
services = false services = false
receipts = false
gitconfig = false
OptionParser.new do |o| OptionParser.new do |o|
o.banner = "Remove most traces of Boxen from your machine." o.banner = "Remove most traces of Boxen from your machine."
@ -24,7 +26,7 @@ OptionParser.new do |o|
o.parse! o.parse!
abort o.to_s unless all || opt || services abort o.to_s unless all || opt || services || receipts || gitconfig
end end
unless force unless force