mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:58:06 +02:00
Replace all instances of 'column path' in help
messages with 'cell path' (#7063)
* Rewrite all 'column path' instances to 'cell path' * Minor tweak
This commit is contained in:
@ -43,7 +43,7 @@ impl Command for BytesAdd {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally matches prefix of text by column paths",
|
||||
"for a data structure input, add bytes to the data at the given cell paths",
|
||||
)
|
||||
.category(Category::Bytes)
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ impl Command for BytesAt {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally get bytes by column paths",
|
||||
"for a data structure input, get bytes from data at the given cell paths",
|
||||
)
|
||||
.category(Category::Bytes)
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ impl Command for BytesEndsWith {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally matches prefix of text by column paths",
|
||||
"for a data structure input, check if bytes at the given cell paths end with the pattern",
|
||||
)
|
||||
.category(Category::Bytes)
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ impl Command for BytesIndexOf {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally returns index of pattern in string by column paths",
|
||||
"for a data structure input, find the indexes at the given cell paths",
|
||||
)
|
||||
.switch("all", "returns all matched index", Some('a'))
|
||||
.switch("end", "search from the end of the binary", Some('e'))
|
||||
|
@ -21,7 +21,7 @@ impl Command for BytesLen {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally find length of binary by column paths",
|
||||
"for a data structure input, find the length of data at the given cell paths",
|
||||
)
|
||||
.category(Category::Bytes)
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ impl Command for BytesRemove {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally remove bytes by column paths",
|
||||
"for a data structure input, remove bytes from data at the given cell paths",
|
||||
)
|
||||
.switch("end", "remove from end of binary", Some('e'))
|
||||
.switch("all", "remove occurrences of finding binary", Some('a'))
|
||||
|
@ -36,7 +36,7 @@ impl Command for BytesReplace {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally find and replace text by column paths",
|
||||
"for a data structure input, replace bytes in data at the given cell paths",
|
||||
)
|
||||
.switch("all", "replace all occurrences of find binary", Some('a'))
|
||||
.category(Category::Bytes)
|
||||
|
@ -21,13 +21,13 @@ impl Command for BytesReverse {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally matches prefix of text by column paths",
|
||||
"for a data structure input, reverse data at the given cell paths",
|
||||
)
|
||||
.category(Category::Bytes)
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"Reverse every bytes in the pipeline"
|
||||
"Reverse the bytes in the pipeline"
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
|
@ -33,7 +33,7 @@ impl Command for BytesStartsWith {
|
||||
.rest(
|
||||
"rest",
|
||||
SyntaxShape::CellPath,
|
||||
"optionally matches prefix of text by column paths",
|
||||
"for a data structure input, check if bytes at the given cell paths start with the pattern",
|
||||
)
|
||||
.category(Category::Bytes)
|
||||
}
|
||||
|
Reference in New Issue
Block a user