Skip to content

Commit

Permalink
docs(cast): fix --to-bytes32 padding description (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
charisma98 committed Feb 22, 2022
1 parent d5c447b commit 9a53c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ SUBCOMMANDS:
--max-uint maximum u256 value
--min-int minimum i256 value
--to-ascii convert hex data to text data
--to-bytes32 left-pads a hex bytes string to 32 bytes)
--to-bytes32 right-pads a hex bytes string to 32 bytes
--to-checksum-address convert an address to a checksummed format (EIP-55)
--to-dec convert hex value into decimal number
--to-fix convert integers into fixed point with specified decimals
Expand Down
2 changes: 1 addition & 1 deletion cli/src/opts/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub enum Subcommands {
value: Option<String>,
},
#[clap(name = "--to-bytes32")]
#[clap(about = "Left-pads a hex bytes string to 32 bytes")]
#[clap(about = "Right-pads a hex bytes string to 32 bytes")]
ToBytes32 { bytes: Option<String> },
#[clap(name = "--to-dec")]
#[clap(about = "Convert hex value into decimal number")]
Expand Down

0 comments on commit 9a53c9b

Please sign in to comment.