From 8151031373c08ccd714a99f50783eafcb54d2010 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 10 Jun 2015 14:48:34 +0200 Subject: undo unfortunate variable naming: cfg -> conf! --- merge_ttable | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'merge_ttable') 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| -- cgit v1.2.3