diff options
author | Jochen Topf <jochen@topf.org> | 2013-05-27 15:27:26 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-05-27 15:27:26 +0200 |
commit | 68d4a9caf4c9267976452ad098d29f6522482cc6 (patch) | |
tree | 9b01d59a0e12e2edca1cbc1e01008f9b9cb22d2f /bin | |
parent | c456c0df0fefd5b8585fce4c12baecbe66b50b34 (diff) | |
download | taginfo-68d4a9caf4c9267976452ad098d29f6522482cc6.tar taginfo-68d4a9caf4c9267976452ad098d29f6522482cc6.tar.gz |
Make minimum number of tags/relations of some type needed for some statistics configurable.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/taginfo-config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |