Skip to content

Commit

Permalink
Merge pull request #829 from uran0sH/fix-clap
Browse files Browse the repository at this point in the history
nydus-image: fix clap
  • Loading branch information
imeoer authored Nov 3, 2022
2 parents 11a7661 + 56ea2c0 commit 5c1122a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/nydus-image/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn prepare_cmd_args(bti_string: &'static str) -> App {
.arg(
Arg::new("blob-id")
.long("blob-id")
.requires_ifs([("type", "estargztoc-ref"), ("type", "stargz_index")])
.required_if_eq_any([("type", "estargztoc-ref"), ("type", "stargz_index")])
.help("specify blob id (as object id in backend/oss)")
)
.arg(
Expand Down

0 comments on commit 5c1122a

Please sign in to comment.