From 2bb2d43037a93d883729869d65c7c6c75b028fa1 Mon Sep 17 00:00:00 2001 From: Vineeth Kashyap Date: Thu, 14 Nov 2024 07:56:06 -0500 Subject: [PATCH] [cli] Correct the help doc displayed for bytecode version #15271 --- crates/aptos/src/common/types.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/aptos/src/common/types.rs b/crates/aptos/src/common/types.rs index 4fe5fa58c3a02..afed0741c20fa 100644 --- a/crates/aptos/src/common/types.rs +++ b/crates/aptos/src/common/types.rs @@ -1157,14 +1157,8 @@ 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 - )] + /// Defaults to `7`. + #[clap(long, alias = "bytecode", verbatim_doc_comment)] pub bytecode_version: Option, /// ...or --compiler COMPILER_VERSION