1
0
Fork 0

Updated scripts to allow for the use of the --receipts and --gitconfig flags

This commit is contained in:
Omar Porras 2013-04-22 07:32:11 -05:00
parent 08009e9b07
commit 4e143c370f
1 changed files with 7 additions and 5 deletions

View File

@ -6,10 +6,12 @@ unless ENV["USER"] == "root"
exec "sudo", $0, *ARGV
end
all = false
force = false
opt = false
services = false
all = false
force = false
opt = false
services = false
receipts = false
gitconfig = false
OptionParser.new do |o|
o.banner = "Remove most traces of Boxen from your machine."
@ -24,7 +26,7 @@ OptionParser.new do |o|
o.parse!
abort o.to_s unless all || opt || services
abort o.to_s unless all || opt || services || receipts || gitconfig
end
unless force