summaryrefslogtreecommitdiff
path: root/stats.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2019-09-03 13:29:47 +0200
committerPatrick Simianer <p@simianer.de>2019-09-03 13:29:47 +0200
commit898b1239702cbf79b149a1072d15e63fc057b657 (patch)
tree98c52251108fc6a3e39740c5e6846e6bbb0dd908 /stats.rb
parent8adea055298189643a3c7a76e2d529f536a94e11 (diff)
trollop -> optimist
Diffstat (limited to 'stats.rb')
-rwxr-xr-xstats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats.rb b/stats.rb
index 390cbd9..36a9ae1 100755
--- a/stats.rb
+++ b/stats.rb
@@ -24,7 +24,7 @@ def stats references, stopwords
end
def main
- config = Trollop::options do
+ config = Optimist::options do
opt :references, "File with references, truecased and tokenized", :type => :string, :short => "-r", :required => true
opt :stopwords, "File with stopwords, one per line", :type => :string, :short => "-s", :required => true
end