From 68d4a9caf4c9267976452ad098d29f6522482cc6 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 27 May 2013 15:27:26 +0200 Subject: Make minimum number of tags/relations of some type needed for some statistics configurable. --- bin/taginfo-config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/taginfo-config.rb b/bin/taginfo-config.rb index fbeb163..96d8a43 100755 --- a/bin/taginfo-config.rb +++ b/bin/taginfo-config.rb @@ -1,6 +1,6 @@ #!/usr/bin/ruby # -# taginfo-config.rb [KEY] +# taginfo-config.rb KEY [DEFAULT] # require 'rubygems' @@ -10,7 +10,7 @@ require File.expand_path(File.dirname(__FILE__)) + '/../web/lib/config.rb' TaginfoConfig.read -value = TaginfoConfig.get(ARGV[0]) +value = TaginfoConfig.get(ARGV[0], ARGV[1]) if value.nil? puts '' exit 1 -- cgit v1.2.3