mirror of
https://github.com/nushell/nushell
synced 2024-12-25 20:43:09 +00:00
fix: bytes length
example description typo (#8550)
this pr fixes a typo
This commit is contained in:
parent
758351c732
commit
e89c796b41
1 changed files with 2 additions and 2 deletions
|
@ -49,12 +49,12 @@ impl Command for BytesLen {
|
|||
fn examples(&self) -> Vec<Example> {
|
||||
vec![
|
||||
Example {
|
||||
description: "Return the lengths of multiple strings",
|
||||
description: "Return the length of a binary",
|
||||
example: "0x[1F FF AA AB] | bytes length",
|
||||
result: Some(Value::test_int(4)),
|
||||
},
|
||||
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",
|
||||
result: Some(Value::List {
|
||||
vals: vec![Value::test_int(4), Value::test_int(1)],
|
||||
|
|
Loading…
Reference in a new issue