add wc search term for size and length (#6056)

This commit is contained in:
pwygab 2022-07-15 23:17:14 +08:00 committed by GitHub
parent e01974b7ab
commit 3d45f77692
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ impl Command for Length {
}
fn search_terms(&self) -> Vec<&str> {
vec!["count", "len", "size"]
vec!["count", "len", "size", "wc"]
}
fn run(

View file

@ -25,7 +25,7 @@ impl Command for Size {
}
fn search_terms(&self) -> Vec<&str> {
vec!["count", "word", "character", "unicode"]
vec!["count", "word", "character", "unicode", "wc"]
}
fn run(