浏览代码

wget: Use same example description as for curl (#1026)

- Use same description for the "Download a URL to a file" example as for curl (see #1019 and #1023)
- Also fix example formatting

* wget: Use "contents" instead of "output" of an URL
Eric Nielsen 8 年之前
父节点
当前提交
1c0471fc23
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/common/wget.md

+ 2 - 2
pages/common/wget.md

@@ -3,9 +3,9 @@
 > Download files from the Web.
 > Download files from the Web.
 > Supports HTTP, HTTPS, and FTP.
 > Supports HTTP, HTTPS, and FTP.
 
 
-- Download a URL to a file:
+- Download the contents of an URL to a file:
 
 
-`wget -O filename "{{url}}"`
+`wget -O {{filename}} {{url}}`
 
 
 - Limit download speed:
 - Limit download speed: