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 /README.md | |
| 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 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -35,11 +35,11 @@ By default, the program won't overwrite existing files with the same name as the `-f` or `--force`. Additionally, the file can be downloaded to a different name with `-o`. Files can be batch downloaded with the `-a` or `--batch` flag. In this mode, `FILE` will be treated as an input file -containing multiple files to download, one filename or URL per line. If an error is encountered, execution stops -immediately and the offending filename is printed. For large batches, the process can be sped up by downloading files -in parallel. The number of parallel downloads can be set with `-j`. For instance, with `-a -j4`, wikiget will download -four files at once. Without `-j` or with `-j` by itself without a number, wikiget will download the files one at a -time. +containing multiple files to download, one filename or URL per line. Blank lines and lines starting with "#" are +ignored. If an error is encountered, execution stops immediately and the offending filename is printed. For large +batches, the process can be sped up by downloading files in parallel. The number of parallel downloads can be set with +`-j`. For instance, with `-a -j4`, wikiget will download four files at once. Without `-j` or with `-j` by itself without +a number, wikiget will download the files one at a time. ### Example usage |
