Commit 4e143c370fafe666b2cb2ac07c95c6a0223519b4
1 parent
08009e9b07
Updated scripts to allow for the use of the --receipts and --gitconfig flags
Showing 1 changed file with 7 additions and 5 deletions Side-by-side Diff
script/nuke
| ... | ... | @@ -6,10 +6,12 @@ |
| 6 | 6 | exec "sudo", $0, *ARGV |
| 7 | 7 | end |
| 8 | 8 | |
| 9 | -all = false | |
| 10 | -force = false | |
| 11 | -opt = false | |
| 12 | -services = false | |
| 9 | +all = false | |
| 10 | +force = false | |
| 11 | +opt = false | |
| 12 | +services = false | |
| 13 | +receipts = false | |
| 14 | +gitconfig = false | |
| 13 | 15 | |
| 14 | 16 | OptionParser.new do |o| |
| 15 | 17 | o.banner = "Remove most traces of Boxen from your machine." |
| ... | ... | @@ -24,7 +26,7 @@ |
| 24 | 26 | |
| 25 | 27 | o.parse! |
| 26 | 28 | |
| 27 | - abort o.to_s unless all || opt || services | |
| 29 | + abort o.to_s unless all || opt || services || receipts || gitconfig | |
| 28 | 30 | end |
| 29 | 31 | |
| 30 | 32 | unless force |