Skip to content

Commit

Permalink
fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 committed Feb 21, 2023
1 parent c463002 commit 3cfad87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/developer/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct Execute {
#[clap(short, long)]
record: Option<String>,
/// Display the generated transaction.
#[clap(short, long, default_value = "true", conflicts_with = "broadcast")]
#[clap(short, long, conflicts_with = "broadcast")]
display: bool,
/// The endpoint used to broadcast the generated transaction.
#[clap(short, long, conflicts_with = "display")]
Expand Down
6 changes: 3 additions & 3 deletions cli/src/commands/developer/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ pub struct Scan {
#[clap(short, long)]
pub view_key: String,

/// The block height to start scanning at
/// The block height to start scanning from.
#[clap(long, default_value = "0")]
pub start: u32,

/// The block height to stop scanning
/// The block height to stop scanning.
#[clap(long)]
pub end: Option<u32>,

/// The endpoint to scan blocks from
/// The endpoint to scan blocks from.
#[clap(long)]
endpoint: String,
}
Expand Down
4 changes: 2 additions & 2 deletions cli/src/commands/developer/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub struct Transfer {
#[clap(parse(try_from_str), long)]
recipient: Address<CurrentNetwork>,
/// The number of gates to transfer.
#[clap(parse(try_from_str))]
#[clap(parse(try_from_str), long)]
amount: u64,
/// The private key used to generate the execution.
#[clap(short, long)]
Expand All @@ -61,7 +61,7 @@ pub struct Transfer {
#[clap(long)]
fee_record: Option<String>,
/// Display the generated transaction.
#[clap(short, long, default_value = "true", conflicts_with = "broadcast")]
#[clap(short, long, conflicts_with = "broadcast")]
display: bool,
/// The endpoint used to broadcast the generated transaction.
#[clap(short, long, conflicts_with = "display")]
Expand Down

0 comments on commit 3cfad87

Please sign in to comment.