bin/rbmk in rbmk-0.1.0.b vs bin/rbmk in rbmk-0.1.0.c

- old
+ new

@@ -1,8 +1,13 @@ #!/usr/bin/env ruby cfn = ARGV.first -(puts "Usage: #{File.basename $0} FILENAME"; exit) if cfn.nil? or cfn.empty? +if cfn.nil? or cfn.empty? then + require 'rbmk/version' + printf "rbmk version %s codename '%s' (github/stronny/rbmk)\n", RBMK::VERSION, RBMK::CODENAME + puts "Usage: #{File.basename $0} FILENAME" + exit +end require 'rbmk/logger' require 'rbmk/upstream' require 'rbmk/server' require 'rbmk/worker'