Make --asn and --prefix for validate mandatory.
@@ -215,12 +215,14 @@ impl Operation {
.long("prefix")
.help("Address prefix of the announcement")
.takes_value(true)
+ .required(true)
)
.arg(Arg::with_name("asn")
.short("a")
.long("asn")
.help("Origin AS number of the announcement")
.takes_value(true)
+ .required(true)
)
.arg(Arg::with_name("noupdate")
.short("n")
