This commit is contained in:
Luccas Mateus de Medeiros Gomes 2021-10-25 08:10:17 -03:00
parent aa5ab8a666
commit 3f313da4c3

View file

@ -42,7 +42,7 @@ impl Command for SubCommand {
fn examples(&self) -> Vec<Example> { fn examples(&self) -> Vec<Example> {
vec![Example { vec![Example {
description: "Get absolute of each value in a list of numbers", 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 { result: Some(Value::List {
vals: vec![ vals: vec![
Value::test_int(50), Value::test_int(50),