[Groonga-commit] droonga/droonga-engine at 44dbbb5 [master] Add round bracket to calling function statement

Back to archive index

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


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

  New Revision: 44dbbb583521ea721d6f01e1860bb7bf3d32742d
  https://github.com/droonga/droonga-engine/commit/44dbbb583521ea721d6f01e1860bb7bf3d32742d

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

  Message:
    Add round bracket to calling function statement

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+16 -16)
===================================================================
--- bin/droonga-engine-join    2014-08-27 17:14:17 +0900 (4b1c011)
+++ bin/droonga-engine-join    2014-08-27 17:17:27 +0900 (eb7aac6)
@@ -29,26 +29,26 @@ require "droonga/serf"
 options = nil
 begin
   options = Slop.parse(:help => true) do |opt|
-    opt.on "no-copy", "copy data from the source cluster.", 
-      :default => false
+    opt.on("no-copy", "copy data from the source cluster.", 
+      :default => false)
 
-    opt.separator "Connections:"
-    opt.on :host=, 
-      "Host name of the node to be joined.", 
-      :required => true
-    opt.on "replica-source-host=", 
+    opt.separator("Connections:")
+    opt.on(:host=, 
+      "Host name of the node to be joined.",
+      :required => true)
+    opt.on("replica-source-host=", 
       "Host name of the soruce cluster to be connected.",
-      :required => true
-    opt.on :dataset=,
-      "Tag dataset name of the cluster to be joined as a node.", 
-      :default => Droonga::CatalogGenerator::DEFAULT_DATASET
-    opt.on :port=, 
-      "Port number of the source cluster to be connected.", 
+      :required => true)
+    opt.on(:dataset=,
+      "Tag dataset name of the cluster to be joined as a node.",
+      :default => Droonga::CatalogGenerator::DEFAULT_DATASET)
+    opt.on(:port=, 
+      "Port number of the source cluster to be connected.",
       :as => Integer, 
-      :default => Droonga::CatalogGenerator::DEFAULT_PORT
-    opt.on :tag=, 
+      :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����������������������������...
Download 



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