Skip to content

Commit

Permalink
feat: short flag -w for --watch
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Oct 26, 2023
1 parent eeb5602 commit e774b45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/subcommands/declare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct Declare {
simulate: bool,
#[clap(long, help = "Provide transaction nonce manually")]
nonce: Option<FieldElement>,
#[clap(long, help = "Wait for the transaction to confirm")]
#[clap(long, short, help = "Wait for the transaction to confirm")]
watch: bool,
#[clap(
long,
Expand Down
2 changes: 1 addition & 1 deletion src/subcommands/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct Deploy {
salt: Option<String>,
#[clap(long, help = "Provide transaction nonce manually")]
nonce: Option<FieldElement>,
#[clap(long, help = "Wait for the transaction to confirm")]
#[clap(long, short, help = "Wait for the transaction to confirm")]
watch: bool,
#[clap(
long,
Expand Down
2 changes: 1 addition & 1 deletion src/subcommands/invoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Invoke {
simulate: bool,
#[clap(long, help = "Provide transaction nonce manually")]
nonce: Option<FieldElement>,
#[clap(long, help = "Wait for the transaction to confirm")]
#[clap(long, short, help = "Wait for the transaction to confirm")]
watch: bool,
#[clap(
long,
Expand Down

0 comments on commit e774b45

Please sign in to comment.