From e89c796b410bf5326551c97839c1d1265fdb70a0 Mon Sep 17 00:00:00 2001 From: mike <98623181+1Kinoti@users.noreply.github.com> Date: Tue, 21 Mar 2023 19:41:37 +0300 Subject: [PATCH] fix: `bytes length` example description typo (#8550) this pr fixes a typo --- crates/nu-command/src/bytes/length.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/bytes/length.rs b/crates/nu-command/src/bytes/length.rs index 372f90ecab..9e00bc3771 100644 --- a/crates/nu-command/src/bytes/length.rs +++ b/crates/nu-command/src/bytes/length.rs @@ -49,12 +49,12 @@ impl Command for BytesLen { fn examples(&self) -> Vec { 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)],