Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 58dd83b

Browse files
authored
token-cli: Add check withdraw-withheld-tokens has sources or include mint (#7152)
fix token-cli: withdraw-withheld-tokens silently fails
1 parent f6222c0 commit 58dd83b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

token/cli/src/clap_app.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,6 +2271,13 @@ pub fn app<'a, 'b>(
22712271
)
22722272
.arg(owner_address_arg())
22732273
.arg(multisig_signer_arg())
2274+
.group(
2275+
ArgGroup::with_name("source_or_mint")
2276+
.arg("source")
2277+
.arg("include_mint")
2278+
.multiple(true)
2279+
.required(true)
2280+
)
22742281
)
22752282
.subcommand(
22762283
SubCommand::with_name(CommandName::SetTransferFee.into())

0 commit comments

Comments
 (0)