[Groonga-commit] long-long-float/droonga-engine at 737dae5 [master] Modify hash style

Back to archive index

long-long-float null+****@clear*****
Wed Aug 27 17:14:17 JST 2014


long-long-float	2014-08-27 17:14:17 +0900 (Wed, 27 Aug 2014)

  New Revision: 737dae51d3238427a8b3a2a1979967a77887e0f8
  https://github.com/long-long-float/droonga-engine/commit/737dae51d3238427a8b3a2a1979967a77887e0f8

  Merged 60208e4: Merge pull request #14 from long-long-float/improvement-cli

  Message:
    Modify hash style

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+8 -8)
===================================================================
--- bin/droonga-engine-join    2014-08-27 17:09:43 +0900 (2d1158e)
+++ bin/droonga-engine-join    2014-08-27 17:14:17 +0900 (4b1c011)
@@ -28,27 +28,27 @@ require "droonga/serf"
 
 options = nil
 begin
-  options = Slop.parse(help: true) do |opt|
+  options = Slop.parse(:help => true) do |opt|
     opt.on "no-copy", "copy data from the source cluster.", 
-      default: false
+      :default => false
 
     opt.separator "Connections:"
     opt.on :host=, 
       "Host name of the node to be joined.", 
-      required: true
+      :required => true
     opt.on "replica-source-host=", 
       "Host name of the soruce cluster to be connected.",
-      required: true
+      :required => true
     opt.on :dataset=,
       "Tag dataset name of the cluster to be joined as a node.", 
-      default: Droonga::CatalogGenerator::DEFAULT_DATASET
+      :default => Droonga::CatalogGenerator::DEFAULT_DATASET
     opt.on :port=, 
       "Port number of the source cluster to be connected.", 
-      as: Integer, 
-      default: Droonga::CatalogGenerator::DEFAULT_PORT
+      :as => Integer, 
+      :default => Droonga::CatalogGenerator::DEFAULT_PORT
     opt.on :tag=, 
       "Tag name of the soruce cluster to be connected.", 
-      default: Droonga::CatalogGenerator::DEFAULT_TAG
+      :default => Droonga::CatalogGenerator::DEFAULT_TAG
   end
 rescue Slop::MissingOptionError => e
   STDERR.puts e
-------------- next part --------------
HTML����������������������������...
Télécharger 



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