🏡 index : github.com/captn3m0/muse-dl.git

author Nemo <me@captnemo.in> 2020-07-01 18:29:22.0 +05:30:00
committer Nemo <me@captnemo.in> 2020-07-01 18:29:22.0 +05:30:00
commit
ba0a47038d11e14a5bc5fbc127290e25d7bc30c2 [patch]
tree
bcec86b6b1ef8bd986a72998815a4ed33ed670c4
parent
a4f5c03912aaea9070b71eef71f86d5ca69556c9
download
ba0a47038d11e14a5bc5fbc127290e25d7bc30c2.tar.gz

Remove input-pdf from README and help



Diff

 README.md     | 3 +--
 src/parser.cr | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 709f979..12a6828 100644
--- a/README.md
+++ a/README.md
@@ -64,8 +64,7 @@
    --tmp-dir PATH                   Temporary Directory to use

    --output FILE                    Output Filename

    --no-bookmarks                   Don't add bookmarks in the PDF

    --input-pdf INPUT                Input Stitched PDF. Will not download anything

    --clobber                        Overwrite the output file, if it already exists. Not compatible with input-pdf

    --clobber                        Overwrite the output file, if it already exists.

    --dont-strip-first-page          Disables first page from being stripped. Use carefully

    --cookie COOKIE                  Cookie-header

    -h, --help                       Show this help

diff --git a/src/parser.cr b/src/parser.cr
index e462445..80af025 100644
--- a/src/parser.cr
+++ a/src/parser.cr
@@ -59,7 +59,7 @@
      parser.on(long_flag = "--tmp-dir PATH", description = "Temporary Directory to use") { |path| @tmp = path }
      parser.on(long_flag = "--output FILE", description = "Output Filename") { |file| @output = file }
      parser.on(long_flag = "--no-bookmarks", description = "Don't add bookmarks in the PDF") { @bookmarks = false }
      parser.on(long_flag = "--clobber", description = "Overwrite the output file, if it already exists. Not compatible with input-pdf") { @clobber = true }
      parser.on(long_flag = "--clobber", description = "Overwrite the output file, if it already exists.") { @clobber = true }
      parser.on(long_flag = "--dont-strip-first-page", description = "Disables first page from being stripped. Use carefully") { @strip_first = false }
      parser.on(long_flag = "--cookie COOKIE", description = "Cookie-header") { |cookie| @cookie = cookie }
      parser.on(long_flag = "--skip-open-access", description = "Don't download open access content") { @skip_oa = true }