bin/reap-uninstall in reap-9.3.5 vs bin/reap-uninstall in reap-9.4.0
- old
+ new
@@ -1,7 +1,19 @@
#!/usr/bin/env ruby
require 'reap/application'
-app = Reap::Application.new
+HELP = <<-END
+Usage: #{File.basename($0)} [options]
-app.site_uninstall
+Uninstall previous installation to site_ruby via reap-install.
+This only works if the underlying install script (e.g. setup.rb)
+supports an uninstall subcommand.
+END
+
+if ARGV.include?('--help')
+ puts HELP
+else
+ app = Reap::Application.new
+ app.site_uninstall
+end
+