diff --git a/cmd/starcoin/src/account/execute_script_function_cmd.rs b/cmd/starcoin/src/account/execute_script_function_cmd.rs index a958e73122..c0eaf9f3ae 100644 --- a/cmd/starcoin/src/account/execute_script_function_cmd.rs +++ b/cmd/starcoin/src/account/execute_script_function_cmd.rs @@ -34,7 +34,7 @@ pub struct ExecuteScriptFunctionOpt { transaction_opts: TransactionOptions, #[structopt(long = "function", name = "script-function")] - /// script function to execute, example: 0x1::TransferScripts::peer_to_peer + /// script function to execute, example: 0x1::TransferScripts::peer_to_peer_v2 script_function: FunctionIdView, } diff --git a/cmd/starcoin/src/account/sign_multisig_txn_cmd.rs b/cmd/starcoin/src/account/sign_multisig_txn_cmd.rs index 4b62b6d419..be5e328534 100644 --- a/cmd/starcoin/src/account/sign_multisig_txn_cmd.rs +++ b/cmd/starcoin/src/account/sign_multisig_txn_cmd.rs @@ -45,7 +45,7 @@ pub struct GenerateMultisigTxnOpt { name = "script-function", required_unless = "multisig-file" )] - /// script function to execute, example: 0x1::TransferScripts::peer_to_peer + /// script function to execute, example: 0x1::TransferScripts::peer_to_peer_v2 script_function: Option, #[structopt( diff --git a/cmd/starcoin/src/dev/package_cmd.rs b/cmd/starcoin/src/dev/package_cmd.rs index 49b8499c4a..3ac2c0b046 100644 --- a/cmd/starcoin/src/dev/package_cmd.rs +++ b/cmd/starcoin/src/dev/package_cmd.rs @@ -37,7 +37,7 @@ pub struct PackageOpt { #[structopt( long = "function", name = "script-function", - help = "init script function to execute, example: 0x1::TransferScripts::peer_to_peer" + help = "init script function to execute, example: 0x123::MyScripts::init_script" )] init_script: Option,