Skip to content

Commit b3aebbe

Browse files
committed
fix: network num args
1 parent 74b77f8 commit b3aebbe

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

crates/cast/src/opts.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -521,12 +521,7 @@ pub enum CastSubcommand {
521521
to_request: bool,
522522

523523
/// Specify the Network for correct encoding.
524-
#[arg(
525-
long,
526-
short,
527-
num_args = 0..=1,
528-
value_name = "NETWORK"
529-
)]
524+
#[arg(long, short, num_args = 1, value_name = "NETWORK")]
530525
network: Option<NetworkVariant>,
531526
},
532527

0 commit comments

Comments
 (0)