diff --git a/docs/en/common/rustup-help.md b/docs/en/common/rustup-help.md new file mode 100644 index 0000000000..9a6242e53e --- /dev/null +++ b/docs/en/common/rustup-help.md @@ -0,0 +1,22 @@ +--- +layout: page +title: common/rustup-help (English) +description: "Display help on `rustup` and its subcommands." +content_hash: 62296cfa6df1a05f6336041324360f42cf80ab0b +last_modified_at: 2023-09-17 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup help + +Display help on `rustup` and its subcommands. +More information: . + +- Display general help: + +`rustup help` + +- Display help for a subcommand: + +`rustup help `subcommand diff --git a/docs/en/common/rustup-install.md b/docs/en/common/rustup-install.md new file mode 100644 index 0000000000..2d8f904684 --- /dev/null +++ b/docs/en/common/rustup-install.md @@ -0,0 +1,19 @@ +--- +layout: page +title: common/rustup-install (English) +description: "Install or update Rust toolchains." +content_hash: 40321842cdbc91ef5309626166384a30162577b4 +last_modified_at: 2023-09-17 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup install + +Install or update Rust toolchains. +This command is an alias of `rustup update`, but can only install/update one toolchain at a time. +More information: . + +- Install or update a specific toolchain (see `rustup help toolchain` for more information): + +`rustup install `toolchain diff --git a/docs/en/common/rustup-man.md b/docs/en/common/rustup-man.md new file mode 100644 index 0000000000..90b6a473c0 --- /dev/null +++ b/docs/en/common/rustup-man.md @@ -0,0 +1,22 @@ +--- +layout: page +title: common/rustup-man (English) +description: "View the man page for a given command managed by `rustup`." +content_hash: 32ef233358ca16edaf80d970c8fc488ffa2ffc3d +last_modified_at: 2023-09-17 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup man + +View the man page for a given command managed by `rustup`. +More information: . + +- View the man page for a given command from the default toolchain: + +`rustup man `command + +- View the man page for a given command from the specified toolchain: + +`rustup man --toolchain `command diff --git a/docs/en/common/rustup-run.md b/docs/en/common/rustup-run.md new file mode 100644 index 0000000000..5ef29bc19b --- /dev/null +++ b/docs/en/common/rustup-run.md @@ -0,0 +1,19 @@ +--- +layout: page +title: common/rustup-run (English) +description: "Run a command with an environment configured for a given Rust toolchain." +content_hash: 471eaf7b6bebb72c8fbb154d5627cc9060a1d31a +last_modified_at: 2023-09-17 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup run + +Run a command with an environment configured for a given Rust toolchain. +Note: all commands managed by `rustup` have a shorthand for this: for example, `cargo +nightly build` is equivalent to `rustup run nightly cargo build`. +More information: . + +- Run a command using a given Rust toolchain (see `rustup help toolchain` for more information): + +`rustup run `toolchain` `command diff --git a/docs/en/common/rustup-which.md b/docs/en/common/rustup-which.md new file mode 100644 index 0000000000..eae26abb48 --- /dev/null +++ b/docs/en/common/rustup-which.md @@ -0,0 +1,23 @@ +--- +layout: page +title: common/rustup-which (English) +description: "Display which binary will be run for a given command managed by `rustup`." +content_hash: 14371dc6987db2d0635274a65addcbf54abb5f58 +last_modified_at: 2023-09-17 +--- + +This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. + +
# rustup which + +Display which binary will be run for a given command managed by `rustup`. +Like `which`, but searches a Rust toolchain instead of `$PATH`. +More information: . + +- Display the path to the binary in the default toolchain: + +`rustup which `command + +- Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information): + +`rustup which --toolchain `toolchain` `command diff --git a/source b/source index 1700d8a30e..6d01f29bbd 160000 --- a/source +++ b/source @@ -1 +1 @@ -Subproject commit 1700d8a30eff4943982a023048749749c72891fa +Subproject commit 6d01f29bbd9135553d255574197f293d2942885a