forked from extern/nushell
Add some cross-references to usage texts (#2417)
This commit is contained in:
parent
c563b7862e
commit
08d1be79fc
@ -22,12 +22,12 @@ impl WholeStreamCommand for Drop {
|
||||
Signature::build("drop").optional(
|
||||
"rows",
|
||||
SyntaxShape::Number,
|
||||
"starting from the back, the number of rows to drop",
|
||||
"starting from the back, the number of rows to remove",
|
||||
)
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"Drop the last number of rows."
|
||||
"Remove the last number of rows. If you want to remove columns, try 'reject'."
|
||||
}
|
||||
|
||||
async fn run(
|
||||
|
@ -23,7 +23,7 @@ impl WholeStreamCommand for Reject {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"Remove the given columns from the table."
|
||||
"Remove the given columns from the table. If you want to remove rows, try 'drop'."
|
||||
}
|
||||
|
||||
async fn run(
|
||||
|
Loading…
Reference in New Issue
Block a user