bin/trema in trema-0.3.5 vs bin/trema in trema-0.3.6
- old
+ new
@@ -211,11 +211,19 @@
trema_version
end
end
+GLI::Commands::Help.skips_pre = false
+
+
pre do | global, command, options, args |
$verbose = global[ :verbose ]
+
+ if global[ :version ]
+ trema_version
+ exit_now! nil, 0
+ end
assert_trema_is_built
if FileTest.exist?( Trema.tmp ) and not FileTest.writable?( Trema.tmp )
# Trema is system widely installed with gem command