Skip to content

Commit

Permalink
token-cli: Add check withdraw-withheld-tokens has sources or include …
Browse files Browse the repository at this point in the history
…mint (solana-labs#7152)

fix token-cli: withdraw-withheld-tokens silently fails
  • Loading branch information
zzau13 authored Aug 16, 2024
1 parent f6222c0 commit 58dd83b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions token/cli/src/clap_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2271,6 +2271,13 @@ pub fn app<'a, 'b>(
)
.arg(owner_address_arg())
.arg(multisig_signer_arg())
.group(
ArgGroup::with_name("source_or_mint")
.arg("source")
.arg("include_mint")
.multiple(true)
.required(true)
)
)
.subcommand(
SubCommand::with_name(CommandName::SetTransferFee.into())
Expand Down

0 comments on commit 58dd83b

Please sign in to comment.