Fix the ignore example (#3644)

This commit is contained in:
JT 2021-06-18 17:07:31 +12:00 committed by GitHub
parent fe5055cf29
commit 1e4678f929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,8 @@ impl WholeStreamCommand for Ignore {
fn examples(&self) -> Vec<Example> {
vec![Example {
description: "echo done | ignore",
example: r#"echo "There are seven words in this sentence" | size"#,
description: "Ignore the output of an echo command",
example: r#"echo done | ignore"#,
result: None,
}]
}