[Groonga-commit] droonga/grn2drn at 2e1ba30 [master] Show version with "-v" option

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 10 11:35:20 JST 2014


YUKI Hiroshi	2014-07-10 11:35:20 +0900 (Thu, 10 Jul 2014)

  New Revision: 2e1ba30d168aafe0a16e008ec2d270e1d9ff5e8e
  https://github.com/droonga/grn2drn/commit/2e1ba30d168aafe0a16e008ec2d270e1d9ff5e8e

  Message:
    Show version with "-v" option

  Modified files:
    bin/grn2drn

  Modified: bin/grn2drn (+3 -0)
===================================================================
--- bin/grn2drn    2014-07-10 10:25:40 +0900 (0b88423)
+++ bin/grn2drn    2014-07-10 11:35:20 +0900 (3659831)
@@ -19,11 +19,14 @@
 require "ostruct"
 require "optparse"
 
+require "grn2drn/version"
 require "grn2drn/command-converter"
 
 options = OpenStruct.new
 options.output_path = "-"
 option_parser = OptionParser.new do |parser|
+  parser.version = Grn2Drn::VERSION
+
   parser.banner += " INPUT"
 
   parser.separator("")
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index