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:
Leon
2022-11-10 15:49:11 +10:00
committed by GitHub
parent bb0d08a721
commit 921a66554e
55 changed files with 71 additions and 73 deletions

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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'))

View File

@ -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)
}

View File

@ -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'))

View File

@ -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)

View File

@ -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> {

View File

@ -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)
}