mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Fixed a nitpick usage-help error - closure v. block (#12876)
# Description So minor, but had to be fixed sometime. `help each while` used the term "block" in the "usage", but the argument type is a closure. # User-Facing Changes help-only
This commit is contained in:
parent
defed3001d
commit
72b880662b
@ -10,7 +10,7 @@ impl Command for EachWhile {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"Run a block on each row of the input list until a null is found, then create a new list with the results."
|
||||
"Run a closure on each row of the input list until a null is found, then create a new list with the results."
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
|
Loading…
Reference in New Issue
Block a user