mirror of
https://github.com/nushell/nushell.git
synced 2025-02-17 19:11:26 +01:00
Update operator help text
Co-authored-by: Douglas <32344964+NotTheDr01ds@users.noreply.github.com>
This commit is contained in:
parent
e6da5c33dc
commit
133e805239
@ -145,7 +145,7 @@ fn description(operator: &Operator) -> &'static str {
|
||||
Operator::Comparison(Comparison::EndsWith) => "Checks if a string ends with another.",
|
||||
Operator::Math(Math::Plus) => "Adds two values.",
|
||||
Operator::Math(Math::Concat) => {
|
||||
"Appends two lists, a list and a value, two strings, or two binary values."
|
||||
"Concatenates two lists, two strings, or two binary values."
|
||||
}
|
||||
Operator::Math(Math::Minus) => "Subtracts two values.",
|
||||
Operator::Math(Math::Multiply) => "Multiplies two values.",
|
||||
@ -164,7 +164,7 @@ fn description(operator: &Operator) -> &'static str {
|
||||
Operator::Assignment(Assignment::Assign) => "Assigns a value to a variable.",
|
||||
Operator::Assignment(Assignment::PlusAssign) => "Adds a value to a variable.",
|
||||
Operator::Assignment(Assignment::ConcatAssign) => {
|
||||
"Appends a list, a value, a string, or a binary value to a variable."
|
||||
"Concatenates two lists, two strings, or two binary values."
|
||||
}
|
||||
Operator::Assignment(Assignment::MinusAssign) => "Subtracts a value from a variable.",
|
||||
Operator::Assignment(Assignment::MultiplyAssign) => "Multiplies a variable by a value.",
|
||||
|
Loading…
Reference in New Issue
Block a user