bin/marvin in marvin-0.8.0.0 vs bin/marvin in marvin-0.8.0.1
- old
+ new
@@ -1,11 +1,12 @@
#!/usr/bin/env ruby
require 'rubygems'
require File.join(File.dirname(__FILE__), "..", "lib", "marvin")
Marvin::Application.processing(ARGV) do |a|
-
- a.banner = "Marvin v#{Marvin::VERSION} - An IRC Library for Ruby"
+ version = Marvin.version
+ version << "p#{Marvin::VERSION[3]}" if Marvin::VERSION[3] != 0
+ a.banner = "Marvin v#{version} - An IRC Library for Ruby"
a.generator!
a.option :development, "Runs the app in development mode (handler reloading)", :shortcut => "D"
a.controller! :client, "Starts the actual Marvin client instance"