Skip to content

Commit

Permalink
Merge pull request #10 from collabora/wip/refi64/arch-option
Browse files Browse the repository at this point in the history
aptlyctl: Fix wrong name for --architecture option
  • Loading branch information
sjoerdsimons authored Jul 19, 2023
2 parents 005dd29 + c7faec8 commit 153209a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aptlyctl/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ fn parse_source(s: &str) -> Result<publish::Source, Box<dyn std::error::Error +
})
}
}

#[derive(Parser, Debug)]
pub struct PublishCreateOpts {
kind: SourceKind,
prefix: String,
#[clap(value_parser = parse_source)]
sources: Vec<publish::Source>,
#[clap(long, name = "architecture")]
#[clap(long = "architecture")]
architectures: Vec<String>,
#[clap(long)]
distribution: Option<String>,
Expand Down

0 comments on commit 153209a

Please sign in to comment.