From ba0a47038d11e14a5bc5fbc127290e25d7bc30c2 Mon Sep 17 00:00:00 2001 From: Nemo Date: Wed, 1 Jul 2020 18:29:22 +0530 Subject: [PATCH] Remove input-pdf from README and help --- 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 +++ b/README.md @@ -64,8 +64,7 @@ INPUT_FILE: Path to a file containing a list of links --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 +++ b/src/parser.cr @@ -59,7 +59,7 @@ module Muse::Dl 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 }