Skip to content

Commit

Permalink
[cli] Fix some cmd help doc, change peer_to_peer to peer_to_peer_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar committed Jan 11, 2022
1 parent a3e7973 commit 2cd8437
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/starcoin/src/account/execute_script_function_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/starcoin/src/account/sign_multisig_txn_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<FunctionIdView>,

#[structopt(
Expand Down
2 changes: 1 addition & 1 deletion cmd/starcoin/src/dev/package_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<FunctionIdView>,

Expand Down

0 comments on commit 2cd8437

Please sign in to comment.