mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
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.
This commit is contained in:
parent
e3fd4d3f81
commit
e0bc85d0dd
@ -108,7 +108,7 @@ impl Command for Fill {
|
|||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description:
|
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",
|
example: "1kib | fill --alignment middle --character '0' --width 10",
|
||||||
result: Some(Value::string("0001024000", Span::test_data())),
|
result: Some(Value::string("0001024000", Span::test_data())),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user