Skip to content

Commit

Permalink
[cli] Correct the help doc displayed for bytecode version
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethk committed Nov 13, 2024
1 parent c0f8d8f commit e346686
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions crates/aptos/src/common/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1157,14 +1157,7 @@ pub struct MovePackageDir {

/// ...or --bytecode BYTECODE_VERSION
/// Specify the version of the bytecode the compiler is going to emit.
/// Defaults to `6`, or `7` if language version 2 is selected
/// (through `--move-2` or `--language-version=2`), .
#[clap(
long,
default_value_if("move_2", "true", "7"),
alias = "bytecode",
verbatim_doc_comment
)]
#[clap(long, default_value("7"), alias = "bytecode", verbatim_doc_comment)]
pub bytecode_version: Option<u32>,

/// ...or --compiler COMPILER_VERSION
Expand Down

0 comments on commit e346686

Please sign in to comment.