aboutsummaryrefslogtreecommitdiff
path: root/docs/wikiget.1.md
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-10-13 11:13:31 -0700
committerCody Logan <cody@lokken.dev>2023-10-13 11:13:31 -0700
commit87052196874cc1bf82f70a6f5aa8e6df59bc1537 (patch)
tree1f73908b40f525dafcf503d1f00b838e8c417300 /docs/wikiget.1.md
parent226b7cb84070c6d073e153ad410fca7798c8e334 (diff)
downloadwikiget-87052196874cc1bf82f70a6f5aa8e6df59bc1537.tar.gz
wikiget-87052196874cc1bf82f70a6f5aa8e6df59bc1537.zip
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.
Diffstat (limited to 'docs/wikiget.1.md')
-rw-r--r--docs/wikiget.1.md4
1 files changed, 2 insertions, 2 deletions
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*