Skip to content

Commit

Permalink
Update alias help.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Jun 28, 2024
1 parent 1fae6c1 commit 20fe36c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ Deploy a wasm contract

Possible values: `true`, `false`

* `--alias <ALIAS>` — The alias that will be used to save the contract's id
* `--alias <ALIAS>` — The alias that will be used to save the contract's id. Whenever used, `--alias` will always overwrite the existing contract id configuration without asking for confirmation



Expand Down
2 changes: 2 additions & 0 deletions cmd/soroban-cli/src/commands/contract/deploy/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ pub struct Cmd {
/// Whether to ignore safety checks when deploying contracts
pub ignore_checks: bool,
/// The alias that will be used to save the contract's id.
/// Whenever used, `--alias` will always overwrite the existing contract id
/// configuration without asking for confirmation.
#[arg(long, value_parser = clap::builder::ValueParser::new(alias_validator))]
pub alias: Option<String>,
}
Expand Down

0 comments on commit 20fe36c

Please sign in to comment.