bin/nv in nv-1.0.1 vs bin/nv in nv-1.2.1
- old
+ new
@@ -1,6 +1,11 @@
#!/usr/bin/env ruby
# encoding: utf-8
require 'nv'
-Nv::CLI.start(ARGV)
+begin
+ Nv::CLI.start(ARGV)
+rescue SystemExit, Interrupt
+rescue Exception => e
+ puts e
+end
- old
+ new