Browse Source

aria2c: refresh page (#9577)

* Don't use undescore before number suffixes

* Quote all urls

* Fix broken filename placeholders

* Use `specific`

* Fix broken url placeholders: use ellipsis
Emily Grace Seville 2 years ago
parent
commit
9765c9c3f4
1 changed files with 12 additions and 12 deletions
  1. 12 12
      pages/common/aria2c.md

+ 12 - 12
pages/common/aria2c.md

@@ -4,34 +4,34 @@
 > Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink.
 > More information: <https://aria2.github.io>.
 
-- Download a URI to a file:
+- Download a specific URI to a file:
 
-`aria2c {{url}}`
+`aria2c "{{url}}"`
 
-- Download the file pointed to by the specified URI with the specified output name:
+- Download a file from a URI with a specific output name:
 
-`aria2c --out={{filename}} {{url}}`
+`aria2c --out={{path/to/file}} "{{url}}"`
 
-- Download multiple (different) files in parallel:
+- Download multiple different files in parallel:
 
-`aria2c --force-sequential {{false}} {{url_1}} {{url_2}}`
+`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"`
 
 - Download from multiple sources with each URI pointing to the same file:
 
-`aria2c {{url_1}} {{url_2}}`
+`aria2c "{{url1 url2 ...}}"`
 
-- Download the URIs listed in a file with limited parallel downloads:
+- Download the URIs listed in a file with a specific number of parallel downloads:
 
-`aria2c --input-file={{filename}} --max-concurrent-downloads={{number_of_downloads}}`
+`aria2c --input-file={{path/to/file}} --max-concurrent-downloads={{number_of_downloads}}`
 
 - Download with multiple connections:
 
-`aria2c --split={{number_of_connections}} {{url}}`
+`aria2c --split={{number_of_connections}} "{{url}}"`
 
 - FTP download with username and password:
 
-`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}`
+`aria2c --ftp-user={{username}} --ftp-passwd={{password}} "{{url}}"`
 
 - Limit download speed in bytes/s:
 
-`aria2c --max-download-limit={{speed}} {{url}}`
+`aria2c --max-download-limit={{speed}} "{{url}}"`