tAdd shdl help text to README - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing
HTML git clone git://src.adamsgaard.dk/scholarref
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit fded0afbebf1e9a07b12f3e3173a828fecd33223
DIR parent 61f32baaff36f089f3960f7a6b97a59126bf0bff
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 16 Sep 2019 10:57:51 +0200
Add shdl help text to README
Diffstat:
M README | 18 ++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)
---
DIR diff --git a/README b/README
t@@ -53,3 +53,21 @@ OPTIONS are one or more of the following:
-N, --notify send desktop notification when complete
-- do not consider any following args as options
+
+usage: shdl [OPTIONS] DOI1 [DOI2...[DOI N]]
+will fetch each DOI from http://sci-hub.tw
+If no DOI is specified, this program will expect DOIs as stdin.
+The program extracts the DOI if a full doi.org URL is passed to it.
+If the PDF download fails, e.g. due to captias, a tor-browser or
+alternatively the system default browser will open sci-hub.
+
+OPTIONS are one or more of the following:
+ -h, --help show this message
+ -v, --version show version and license information
+ -V, --verbose show verbose information
+ -t, --tor-socks use torsocks for requests to sci-hub
+ -b, --browser open sci-hub in browser immediately
+ -r, --reference add reference to bibliography using scholarref
+ -n, --notify send desktop notification when complete
+ -o, --open open downloaded document when complete
+ -- do not consider any following args as options