Skip to content

Commit

Permalink
[CLI] Add aliases for crc formats
Browse files Browse the repository at this point in the history
  • Loading branch information
widberg committed Nov 28, 2023
1 parent ce9bc3d commit f11a1c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bff-cli/src/crc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ pub enum CrcMode {

#[derive(ValueEnum, Clone)]
pub enum CrcFormat {
#[value(alias("s"))]
Signed,
#[value(alias("u"))]
Unsigned,
#[value(alias("hex"))]
#[value(alias("h"), alias("hex"))]
Hexadecimal,
}

Expand Down

0 comments on commit f11a1c5

Please sign in to comment.