mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Add slice as a search term on range
(#14128)
Not to be confused with `seq` which is similar to our range type, `range` does a slice based on a range.
This commit is contained in:
parent
8d4426f2f8
commit
9ad6d13982
@ -25,7 +25,7 @@ impl Command for Range {
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["filter", "head", "tail"]
|
||||
vec!["filter", "head", "tail", "slice"]
|
||||
}
|
||||
|
||||
fn examples(&self) -> Vec<Example> {
|
||||
|
Loading…
Reference in New Issue
Block a user