Skip to content

Commit

Permalink
Merge #1528
Browse files Browse the repository at this point in the history
1528: fix(casperf): subcommand is not required r=tiagolobocastro a=tiagolobocastro

bonus: make URI required

Co-authored-by: Tiago Castro <[email protected]>
  • Loading branch information
mayastor-bors and tiagolobocastro committed Oct 16, 2023
2 parents 6615242 + 59877c4 commit e6fd1c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion io-engine/src/bin/casperf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,11 @@ fn main() {
Arg::new("URI")
.value_name("URI")
.help("storage URI's")
.required(true)
.index(1)
.action(clap::ArgAction::Append),
)
.subcommand_required(true)
.subcommand_required(false)
.get_matches();

let mut uris = matches
Expand Down

0 comments on commit e6fd1c1

Please sign in to comment.