mirror of
https://github.com/nushell/nushell.git
synced 2025-06-18 16:07:02 +02:00
Fix an into bits
example (#12668)
# Description One example for `into bits` says it uses binary value when it actually uses a filesize. This lead to issue #11412, but I never got around to fixing the example until this PR.
This commit is contained in:
parent
f234a0ea33
commit
79ebf0c0a9
@ -64,7 +64,7 @@ impl Command for BitsInto {
|
|||||||
vec![
|
vec![
|
||||||
Example {
|
Example {
|
||||||
description: "convert a binary value into a string, padded to 8 places with 0s",
|
description: "convert a binary value into a string, padded to 8 places with 0s",
|
||||||
example: "01b | into bits",
|
example: "0x[1] | into bits",
|
||||||
result: Some(Value::string("00000001",
|
result: Some(Value::string("00000001",
|
||||||
Span::test_data(),
|
Span::test_data(),
|
||||||
)),
|
)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user