Skip to content

Commit

Permalink
fixed doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
zees-dev committed Oct 24, 2024
1 parent 9b322e0 commit 1047cf3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions forc-plugins/forc-crypto/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ forc_util::cli_examples! {
pub struct HashArgs {
/// This argument is optional, it can be either:
///
/// 1. A path to a file. If that is the case, the content of the file is
/// loaded.
/// 1. A path to a file. If that is the case, the content of the file is
/// loaded
///
/// 2. A binary string encoded as a hex string. If that is the case, the
/// hex is decoded and passed as a Vec<u8>
/// 2. A binary string encoded as a hex string. If that is the case, the
/// hex is decoded and passed as a Vec<u8>
///
/// 3. A string. This is the last option, if the string is "-", `stdin`
/// is read instead. Otherwise the raw string is converted to a Vec<u8>
/// and passed
/// 3. A string. This is the last option, if the string is "-", "stdin"
/// is read instead. Otherwise the raw string is converted to a Vec<u8>
/// and passed
///
/// 4. If it nos not provided, `stdin` is read
/// 4. If it is not provided, "stdin" is read
content_or_filepath: Option<String>,
}

Expand Down

0 comments on commit 1047cf3

Please sign in to comment.