[Groonga-commit] droonga/grn2drn at 904cdcb [master] Remove "-e" short option, because other options don't have short versions

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 10 12:15:46 JST 2014


YUKI Hiroshi	2014-07-10 12:15:46 +0900 (Thu, 10 Jul 2014)

  New Revision: 904cdcb7ad16536b6098d8371fdf878715016e43
  https://github.com/droonga/grn2drn/commit/904cdcb7ad16536b6098d8371fdf878715016e43

  Message:
    Remove "-e" short option, because other options don't have short versions

  Modified files:
    bin/grn2drn
    doc/text/news.md

  Modified: bin/grn2drn (+1 -1)
===================================================================
--- bin/grn2drn    2014-07-10 12:09:03 +0900 (bb6c4b6)
+++ bin/grn2drn    2014-07-10 12:15:46 +0900 (abc6fb6)
@@ -41,7 +41,7 @@ option_parser = OptionParser.new do |parser|
     options.dataset = dataset
   end
 
-  parser.on("-e, --encoding=ENCODING",
+  parser.on("--encoding=ENCODING",
             "Read input as strings encoded in ENCODING",
             "(#{options.encoding})") do |encoding|
     options.encoding = encoding

  Modified: doc/text/news.md (+1 -1)
===================================================================
--- doc/text/news.md    2014-07-10 12:09:03 +0900 (733d3b0)
+++ doc/text/news.md    2014-07-10 12:15:46 +0900 (563a62e)
@@ -5,7 +5,7 @@
 ### Improvements
 
   * `grn2drn`: Set `Default` as the default dataset name. Now you don't have to specify `--dataset` option anymore, if you use the default dataset name.
-  * `grn2drn`: Support a new `--encoding` (or `-e`) option to specify the encoding of the input (`UTF-8` by default.)
+  * `grn2drn`: Support a new `--encoding` option to specify the encoding of the input (`UTF-8` by default.)
 
 ## 1.0.2: 2014-04-04
 
-------------- next part --------------
HTML����������������������������...
Download 



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