diff --git a/crates/nu-command/src/math/abs.rs b/crates/nu-command/src/math/abs.rs index 817e430413..e4d201421d 100644 --- a/crates/nu-command/src/math/abs.rs +++ b/crates/nu-command/src/math/abs.rs @@ -42,7 +42,7 @@ impl Command for SubCommand { fn examples(&self) -> Vec { vec![Example { description: "Get absolute of each value in a list of numbers", - example: "echo [-50 -100.0 25] | math abs", + example: "[-50 -100.0 25] | math abs", result: Some(Value::List { vals: vec![ Value::test_int(50),