From 87052196874cc1bf82f70a6f5aa8e6df59bc1537 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Fri, 13 Oct 2023 11:13:31 -0700 Subject: Revise batch file parsing to ignore blank and commented lines Previously, blank lines would cause an error and lines prepended with "#" would be downloaded like any other, assuming they were valid. Now, "#" can be used to mark ignored files or comments. --- docs/wikiget.1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/wikiget.1.md') diff --git a/docs/wikiget.1.md b/docs/wikiget.1.md index 45184f4..fd274d5 100644 --- a/docs/wikiget.1.md +++ b/docs/wikiget.1.md @@ -30,8 +30,8 @@ the file name or the URL of its description page. *BATCHFILE* : In batch download mode (activated with \-**a** or \-\-**batch**), this is a text file containing multiple file names - or URLs to be downloaded, one per line. If an error is encountered during download, execution stops immediately and - the offending filename is printed. + or URLs to be downloaded, one per line. Blank lines and lines starting with "#" are ignored. If an error is + encountered during download, execution stops immediately and the offending filename is printed. \-**s**, \-\-**site** *SITE* -- cgit v1.2.3