Skip to content

Commit

Permalink
fix: add --compiler-version as alias of use in forge create (#8588
Browse files Browse the repository at this point in the history
)

add compiler-version as alias of `use`
  • Loading branch information
zerosnacks authored Aug 3, 2024
1 parent 9108500 commit d54e94e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/cli/src/opts/build/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ pub struct CoreBuildArgs {
/// Specify the solc version, or a path to a local solc, to build with.
///
/// Valid values are in the format `x.y.z`, `solc:x.y.z` or `path/to/solc`.
#[arg(long = "use", help_heading = "Compiler options", value_name = "SOLC_VERSION")]
#[arg(
long = "use",
alias = "compiler-version",
help_heading = "Compiler options",
value_name = "SOLC_VERSION"
)]
#[serde(skip)]
pub use_solc: Option<String>,

Expand Down

0 comments on commit d54e94e

Please sign in to comment.