Skip to content

Commit eb00a97

Browse files
committed
Add the missing tools for valid_proxy_names
1 parent 6acf7d0 commit eb00a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use strsim::damerau_levenshtein;
1313

1414
use super::rustup_mode::CompletionCommand;
1515
use crate::dist::temp;
16-
use crate::TOOLS;
16+
use crate::{TOOLS, DUP_TOOLS};
1717

1818
error_chain! {
1919
links {
@@ -85,7 +85,7 @@ error_chain! {
8585

8686
fn valid_proxy_names() -> String {
8787
TOOLS
88-
.iter()
88+
.iter().chain(DUP_TOOLS.iter())
8989
.map(|s| format!("'{}'", s))
9090
.collect::<Vec<_>>()
9191
.join(", ")

0 commit comments

Comments
 (0)