about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Albietz <inthecloud247@gmail.com>2014-12-28 12:24:37 -0600
committerJohn Albietz <inthecloud247@gmail.com>2014-12-28 12:24:37 -0600
commitccd185e50644ba24645cdf1a5955a583abf60eca (patch)
treefd84276e3cd6d4e3b599876ec95c9e11fe1182ef
parentd9e0bbcc4fd018e74f72cc6fe3b09f4c81870c91 (diff)
downloadrust-ccd185e50644ba24645cdf1a5955a583abf60eca.tar.gz
rust-ccd185e50644ba24645cdf1a5955a583abf60eca.zip
update curl output flag.
from curl manpage:
```
       -O, --remote-name
              Write output to a local file named like the remote file we get. (Only the file part
              of the remote file is used, the path is cut off.)
```
-rw-r--r--src/doc/guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 6749995a766..6f32693fdae 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -30,7 +30,7 @@ If you're concerned about the [potential insecurity](http://curlpipesh.tumblr.co
 please keep reading and see our disclaimer below. And feel free to use a two-step version of the installation and examine our installation script:
 
 ```bash
-curl -L https://static.rust-lang.org/rustup.sh -o rustup.sh
+curl -L https://static.rust-lang.org/rustup.sh -O
 sudo sh rustup.sh
 ```