summaryrefslogtreecommitdiff
path: root/merge_ttable
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-06-10 14:48:34 +0200
committerPatrick Simianer <p@simianer.de>2015-06-10 14:48:34 +0200
commit8151031373c08ccd714a99f50783eafcb54d2010 (patch)
tree1bcf6e78392978f4ae972a5dcc936a4c266f3d78 /merge_ttable
parente137509a77e3a8c12af32852ebba893dacb53f85 (diff)
undo unfortunate variable naming: cfg -> conf!
Diffstat (limited to 'merge_ttable')
-rwxr-xr-xmerge_ttable6
1 files changed, 3 insertions, 3 deletions
diff --git a/merge_ttable b/merge_ttable
index e4621f5..ac10903 100755
--- a/merge_ttable
+++ b/merge_ttable
@@ -4,13 +4,13 @@ require 'zipf'
require 'trollop'
def main
- cfg = Trollop::options do
+ conf = Trollop::options do
opt :f, "f files", :type => :string, :required => true
opt :e, "e files", :type => :string, :required => true
end
- f_files = cfg[:f].split
- e_files = cfg[:e].split
+ f_files = conf[:f].split
+ e_files = conf[:e].split
h = {}
f_files.each_with_index { |fn,i|