From a008afb18721b3b719f2316abf4fdfe53dd8e412 Mon Sep 17 00:00:00 2001 From: Tim Voronov Date: Mon, 15 Jun 2020 21:50:47 -0400 Subject: [PATCH] Added default value for -k parameter --- bin/getpapers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/getpapers.js b/bin/getpapers.js index c49132b..c910f80 100755 --- a/bin/getpapers.js +++ b/bin/getpapers.js @@ -36,7 +36,8 @@ program .option('-f, --logfile ', 'save log to specified file in output directory as well as printing to terminal') .option('-k, --limit ', - 'limit the number of hits and downloads') + 'limit the number of hits and downloads', + 100) .option('--filter ', 'filter by key value pair, passed straight to the crossref api only') .option('-r, --restart',