From e0bc85d0ddb4d6641cffa8567e549b105638c506 Mon Sep 17 00:00:00 2001 From: LordLightSpeed Date: Thu, 3 Oct 2024 23:04:36 +0100 Subject: [PATCH] Update `fill.rs` to fix last example given with help (#13993) Original stated it filled on the left to a width of 5 while showing the command and output to fill on both sides to a width of 10. Changed wording of description to match effect of example and displayed result. --- crates/nu-command/src/conversions/fill.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/conversions/fill.rs b/crates/nu-command/src/conversions/fill.rs index 4ab284931f..d125ee29b2 100644 --- a/crates/nu-command/src/conversions/fill.rs +++ b/crates/nu-command/src/conversions/fill.rs @@ -108,7 +108,7 @@ impl Command for Fill { }, Example { description: - "Fill a filesize on the left side to a width of 5 with the character '0'", + "Fill a filesize on both sides to a width of 10 with the character '0'", example: "1kib | fill --alignment middle --character '0' --width 10", result: Some(Value::string("0001024000", Span::test_data())), },