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

@@ -30,7 +30,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"column paths to convert to binary (for table input)",
"for a data structure input, convert data at the given cell paths",
)
.category(Category::Conversions)
}

View File

@@ -26,7 +26,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"column paths to convert to boolean (for table input)",
"for a data structure input, convert data at the given cell paths",
)
.category(Category::Conversions)
}

View File

@@ -94,7 +94,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"optionally convert text into datetime by column paths",
"for a data structure input, convert data at the given cell paths",
)
.category(Category::Conversions)
}

View File

@@ -23,7 +23,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"optionally convert text into decimal by column paths",
"for a data structure input, convert data at the given cell paths",
)
}

View File

@@ -33,7 +33,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"column paths to convert to duration (for table input)",
"for a data structure input, convert data at the given cell paths",
)
.category(Category::Conversions)
}

View File

@@ -25,7 +25,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"column paths to convert to filesize (for table input)",
"for a data structure input, convert data at the given cell paths",
)
.category(Category::Conversions)
}

View File

@@ -43,7 +43,7 @@ impl Command for SubCommand {
.rest(
"rest",
SyntaxShape::CellPath,
"column paths to convert to int (for table input)",
"for a data structure input, convert data at the given cell paths",
)
.category(Category::Conversions)
}

View File

@@ -42,11 +42,10 @@ impl Command for SubCommand {
(Type::Date, Type::String),
])
.allow_variants_without_examples(true) // https://github.com/nushell/nushell/issues/7032
// FIXME - need to support column paths
.rest(
"rest",
SyntaxShape::CellPath,
"column paths to convert to string (for table input)",
"for a data structure input, convert data at the given cell paths",
)
.named(
"decimals",