Skip to content

Commit

Permalink
Require --durability for bump because the default is confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Bellamy committed Jul 11, 2023
1 parent d6780b9 commit 325a619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/bump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct Cmd {
#[arg(long = "key-xdr", conflicts_with = "key")]
key_xdr: Option<String>,
/// Storage entry durability
#[arg(long, value_enum, default_value("persistent"))]
#[arg(long, value_enum, required)]
durability: Durability,

/// Number of ledgers to extend the entries
Expand Down

0 comments on commit 325a619

Please sign in to comment.