Skip to content

Commit 3197587

Browse files
rickhg12hsrami3l
authored andcommitted
Update help.rs: bash completions instructions (#1)
`>>` --> `>` Update rustup_completions_cmd_help_flag_stdout.toml Fix bash completions test.
1 parent b491a45 commit 3197587

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/help.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub(crate) static COMPLETIONS_HELP: &str = r"Discussion:
177177
Run the command:
178178
179179
$ mkdir -p ~/.local/share/bash-completion/completions
180-
$ rustup completions bash >> ~/.local/share/bash-completion/completions/rustup
180+
$ rustup completions bash > ~/.local/share/bash-completion/completions/rustup
181181
182182
This installs the completion script. You may have to log out and
183183
log back in to your shell session for the changes to take effect.

tests/suite/cli-ui/rustup/rustup_completions_cmd_help_flag_stdout.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Discussion:
3232
Run the command:
3333
3434
$ mkdir -p ~/.local/share/bash-completion/completions
35-
$ rustup completions bash >> ~/.local/share/bash-completion/completions/rustup
35+
$ rustup completions bash > ~/.local/share/bash-completion/completions/rustup
3636
3737
This installs the completion script. You may have to log out and
3838
log back in to your shell session for the changes to take effect.

0 commit comments

Comments
 (0)