Remove example demonstrating old behavior
This was introduced as #8366 introduced a logic to have a priority of those flags (and have the `--raw` flag purely to match the flags on `to json`)
This commit is contained in:
parent
52138c0c7a
commit
f75e6bb4a6
|
@ -108,11 +108,6 @@ impl Command for ToNuon {
|
||||||
example: "[1 2 3] | to nuon --indent 2",
|
example: "[1 2 3] | to nuon --indent 2",
|
||||||
result: Some(Value::test_string("[\n 1,\n 2,\n 3\n]")),
|
result: Some(Value::test_string("[\n 1,\n 2,\n 3\n]")),
|
||||||
},
|
},
|
||||||
Example {
|
|
||||||
description: "Overwrite any set option with --raw",
|
|
||||||
example: "[1 2 3] | to nuon --indent 2 --raw",
|
|
||||||
result: Some(Value::test_string("[1, 2, 3]"))
|
|
||||||
},
|
|
||||||
Example {
|
Example {
|
||||||
description: "A more complex record with multiple data types",
|
description: "A more complex record with multiple data types",
|
||||||
example: "{date: 2000-01-01, data: [1 [2 3] 4.56]} | to nuon --indent 2",
|
example: "{date: 2000-01-01, data: [1 [2 3] 4.56]} | to nuon --indent 2",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user