File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,10 @@ info: checking for self-updates
176176info: downloading self-updates
177177```
178178
179+ ** Note** : ` rustup ` will automatically update itself at the end of any toolchain
180+ installation as well. You can prevent this automatic behaviour by passing the
181+ ` --no-self-update ` argument when running ` rustup update ` or ` rustup toolchain install ` .
182+
179183## Working with nightly Rust
180184
181185Rustup gives you easy access to the nightly compiler and its
Original file line number Diff line number Diff line change @@ -140,10 +140,9 @@ pub fn cli() -> App<'static, 'static> {
140140 )
141141 . arg (
142142 Arg :: with_name ( "no-self-update" )
143- . help ( "Don't perform self update when running the `rustup` command" )
143+ . help ( "Don't perform self- update when running the `rustup install ` command" )
144144 . long ( "no-self-update" )
145145 . takes_value ( false )
146- . hidden ( true ) ,
147146 )
148147 . arg (
149148 Arg :: with_name ( "force" )
@@ -175,10 +174,9 @@ pub fn cli() -> App<'static, 'static> {
175174 )
176175 . arg (
177176 Arg :: with_name ( "no-self-update" )
178- . help ( "Don't perform self update when running the `rustup` command" )
177+ . help ( "Don't perform self update when running the `rustup update ` command" )
179178 . long ( "no-self-update" )
180179 . takes_value ( false )
181- . hidden ( true ) ,
182180 )
183181 . arg (
184182 Arg :: with_name ( "force" )
@@ -217,10 +215,9 @@ pub fn cli() -> App<'static, 'static> {
217215 )
218216 . arg (
219217 Arg :: with_name ( "no-self-update" )
220- . help ( "Don't perform self update when running the `rustup` command" )
218+ . help ( "Don't perform self update when running the `rustup toolchain install ` command" )
221219 . long ( "no-self-update" )
222220 . takes_value ( false )
223- . hidden ( true ) ,
224221 ) ,
225222 )
226223 . subcommand (
You can’t perform that action at this time.
0 commit comments