Add some cross-references to usage texts (#2417)

This commit is contained in:
Jörn Zaefferer 2020-08-25 23:43:41 +02:00 committed by GitHub
parent c563b7862e
commit 08d1be79fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -22,12 +22,12 @@ impl WholeStreamCommand for Drop {
Signature::build("drop").optional( Signature::build("drop").optional(
"rows", "rows",
SyntaxShape::Number, 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 { 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( async fn run(

View File

@ -23,7 +23,7 @@ impl WholeStreamCommand for Reject {
} }
fn usage(&self) -> &str { 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( async fn run(