fix: bytes length example description typo (#8550)

this pr fixes a typo
This commit is contained in:
mike 2023-03-21 19:41:37 +03:00 committed by GitHub
parent 758351c732
commit e89c796b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)],