Add search terms to many commands (#5096)

This commit is contained in:
Reilly Wood
2022-04-05 05:01:21 -07:00
committed by GitHub
parent fa6ed7a40b
commit 657b631fdc
17 changed files with 62 additions and 2 deletions

View File

@ -171,6 +171,10 @@ impl Command for Char {
"Output special characters (e.g., 'newline')."
}
fn search_terms(&self) -> Vec<&str> {
vec!["line break", "newline", "Unicode"]
}
fn examples(&self) -> Vec<Example> {
vec![
Example {