Skip to content

Commit 0ac3bac

Browse files
committed
fix cli comments
1 parent 5542960 commit 0ac3bac

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

clients/cli/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,11 @@ pub struct DepositSolCli {
295295
/// Lamports to deposit into pool
296296
pub lamports: u64,
297297

298-
/// The pool to withdraw from
298+
/// The pool to deposit into
299299
#[clap(short, long = "pool", value_parser = |p: &str| parse_address(p, "pool_address"))]
300300
pub pool_address: Option<Pubkey>,
301301

302-
/// The vote account corresponding to the pool to withdraw from
302+
/// The vote account corresponding to the pool to deposit into
303303
#[clap(long = "vote-account", value_parser = |p: &str| parse_address(p, "vote_account_address"))]
304304
pub vote_account_address: Option<Pubkey>,
305305

clients/cli/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,8 @@ async fn command_deposit_sol(
864864
.is_none()
865865
{
866866
return Err(format!(
867-
"Pool {} onramp {} does not exist",
867+
"Pool {} onramp {} does not exist; run `spl-single-pool manage create-on-ramp ...` \
868+
to create it",
868869
pool_address, onramp_address
869870
)
870871
.into());

0 commit comments

Comments
 (0)