diff options
| author | Cody Logan <cody@lokken.dev> | 2023-10-13 11:13:31 -0700 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-10-13 11:13:31 -0700 |
| commit | 87052196874cc1bf82f70a6f5aa8e6df59bc1537 (patch) | |
| tree | 1f73908b40f525dafcf503d1f00b838e8c417300 /docs/wikiget.1 | |
| parent | 226b7cb84070c6d073e153ad410fca7798c8e334 (diff) | |
| download | wikiget-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')
| -rw-r--r-- | docs/wikiget.1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/wikiget.1 b/docs/wikiget.1 index 03a0c41..fa1a33d 100644 --- a/docs/wikiget.1 +++ b/docs/wikiget.1 @@ -39,6 +39,7 @@ fetched from the site in the URL, in this case In batch download mode (activated with -\f[B]a\f[R] or --\f[B]batch\f[R]), this is a text file containing multiple file names or URLs to be downloaded, one per line. +Blank lines and lines starting with \[lq]#\[rq] are ignored. If an error is encountered during download, execution stops immediately and the offending filename is printed. .TP |
