Skip to content

Commit

Permalink
[token cli]: add validation to metadata address (#5926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe C authored Nov 29, 2023
1 parent b410945 commit b49a7ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions token/cli/src/clap_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ pub fn app<'a, 'b>(
Arg::with_name("metadata_address")
.long("metadata-address")
.value_name("ADDRESS")
.validator(is_valid_pubkey)
.takes_value(true)
.conflicts_with("enable_metadata")
.help(
Expand Down

0 comments on commit b49a7ce

Please sign in to comment.