Skip to content

Commit

Permalink
Make nft verify take input as argument (ordinals#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jul 16, 2022
1 parent f3094f7 commit db832af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/subcommand/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::*;

#[derive(Parser)]
pub(crate) struct Verify {
#[clap(long, help = "Read bech32-formatted NFT from <INPUT_PATH>")]
#[clap(help = "Read bech32-formatted NFT from <INPUT_PATH>")]
input_path: PathBuf,
}

Expand Down
2 changes: 1 addition & 1 deletion tests/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn mint_and_verify() -> Result {
.output()?;

Test::with_tempdir(output.tempdir)
.command("verify --input-path foo.nft")
.command("verify foo.nft")
.expected_stderr(
"NFT is valid!
Ordinal: 0
Expand Down

0 comments on commit db832af

Please sign in to comment.