forked from extern/nushell
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:
@@ -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)
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -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",
|
||||
)
|
||||
}
|
||||
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user