forked from extern/nushell
fix: bytes length
example description typo (#8550)
this pr fixes a typo
This commit is contained in:
parent
758351c732
commit
e89c796b41
@ -49,12 +49,12 @@ impl Command for BytesLen {
|
|||||||
fn examples(&self) -> Vec<Example> {
|
fn examples(&self) -> Vec<Example> {
|
||||||
vec![
|
vec![
|
||||||
Example {
|
Example {
|
||||||
description: "Return the lengths of multiple strings",
|
description: "Return the length of a binary",
|
||||||
example: "0x[1F FF AA AB] | bytes length",
|
example: "0x[1F FF AA AB] | bytes length",
|
||||||
result: Some(Value::test_int(4)),
|
result: Some(Value::test_int(4)),
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Return the lengths of multiple strings",
|
description: "Return the lengths of multiple binaries",
|
||||||
example: "[0x[1F FF AA AB] 0x[1F]] | bytes length",
|
example: "[0x[1F FF AA AB] 0x[1F]] | bytes length",
|
||||||
result: Some(Value::List {
|
result: Some(Value::List {
|
||||||
vals: vec![Value::test_int(4), Value::test_int(1)],
|
vals: vec![Value::test_int(4), Value::test_int(1)],
|
||||||
|
Loading…
Reference in New Issue
Block a user