Skip to content

Commit

Permalink
fix Wallet CLI: wallet split-coin usage instruction missing --amounts…
Browse files Browse the repository at this point in the history
…#2194 (MystenLabs#2385)
  • Loading branch information
patrickkuo authored Jun 7, 2022
1 parent 8668510 commit 70a20fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/sui/src/wallet_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,12 @@ pub enum WalletCommands {
#[clap(long)]
coin_id: ObjectID,
/// Amount to split out from the coin
#[clap(long, multiple_occurrences = false, multiple_values = true)]
#[clap(
long,
multiple_occurrences = false,
multiple_values = true,
required = true
)]
amounts: Vec<u64>,
/// ID of the gas object for gas payment, in 20 bytes Hex string
/// If not provided, a gas object with at least gas_budget value will be selected
Expand Down

0 comments on commit 70a20fe

Please sign in to comment.