diff --git a/crates/xline/src/utils/args.rs b/crates/xline/src/utils/args.rs index d162aa85b..3379d0439 100644 --- a/crates/xline/src/utils/args.rs +++ b/crates/xline/src/utils/args.rs @@ -38,13 +38,13 @@ pub struct ServerArgs { #[clap(long)] name: String, /// Node peer listen urls - #[clap(long, num_args = 1.., value_delimiter = ',')] + #[clap(long, required = true, num_args = 1.., value_delimiter = ',')] peer_listen_urls: Vec, /// Node peer advertise urls #[clap(long, num_args = 1.., value_delimiter = ',')] peer_advertise_urls: Vec, /// Node client listen urls - #[clap(long, num_args = 1.., value_delimiter = ',')] + #[clap(long, required = true, num_args = 1.., value_delimiter = ',')] client_listen_urls: Vec, /// Node client advertise urls #[clap(long, num_args = 1.., value_delimiter = ',')]