mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
Adds fix for when multiple flags are in one line. (#5493)
This commit is contained in:
parent
14d80d54fe
commit
f311da9623
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ pub fn escape_quote_string_with_file(input: &str, file: &str) -> String {
|
|||
}
|
||||
}
|
||||
}
|
||||
if word == input {
|
||||
return word;
|
||||
if word.contains(input) {
|
||||
return input.to_string();
|
||||
}
|
||||
}
|
||||
let mut final_word = String::new();
|
||||
|
|
Loading…
Reference in a new issue