diff --git a/crates/nu-command/src/filters/par_each.rs b/crates/nu-command/src/filters/par_each.rs index 79ecab43ec..d3b24cd24d 100644 --- a/crates/nu-command/src/filters/par_each.rs +++ b/crates/nu-command/src/filters/par_each.rs @@ -28,7 +28,7 @@ impl Command for ParEach { fn examples(&self) -> Vec { vec![Example { - example: "[1 2 3] | each { 2 * $it }", + example: "[1 2 3] | par-each { 2 * $it }", description: "Multiplies elements in list", result: None, }]