[Groonga-commit] droonga/grn2drn at 8addc66 [master] Show version by grn2drn-schema

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu Jul 10 11:47:15 JST 2014


YUKI Hiroshi	2014-07-10 11:47:15 +0900 (Thu, 10 Jul 2014)

  New Revision: 8addc6610550d7b045819d985ca3f56aba45c9e5
  https://github.com/droonga/grn2drn/commit/8addc6610550d7b045819d985ca3f56aba45c9e5

  Message:
    Show version by grn2drn-schema

  Modified files:
    bin/grn2drn-schema

  Modified: bin/grn2drn-schema (+3 -0)
===================================================================
--- bin/grn2drn-schema    2014-07-10 11:35:33 +0900 (0f9f99c)
+++ bin/grn2drn-schema    2014-07-10 11:47:15 +0900 (147e8ea)
@@ -20,6 +20,7 @@ require "ostruct"
 require "optparse"
 require "json"
 
+require "grn2drn/version"
 require "grn2drn/schema-converter"
 
 def open_output(path)
@@ -35,6 +36,8 @@ end
 options = OpenStruct.new
 options.output_path = "-"
 option_parser = OptionParser.new do |parser|
+  parser.version = Grn2Drn::VERSION
+
   parser.banner += " INPUT"
 
   parser.separator("")
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る