diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index 0d87891b3..912f35e08 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -219,7 +219,7 @@ Get Id of builtin Soroban Asset Contract. Deprecated, use `soroban contract id a Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -245,7 +245,7 @@ Deploy builtin Soroban Asset Contract Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -408,7 +408,7 @@ If no keys are specified the contract itself is extended. Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -452,7 +452,7 @@ Deploy a wasm contract Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -535,7 +535,7 @@ Deploy builtin Soroban Asset Contract Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -561,7 +561,7 @@ Deploy normal Wasm Contract Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -637,7 +637,7 @@ Install a WASM file to the ledger without creating a contract instance Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -698,7 +698,7 @@ soroban contract invoke ... -- --help Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -779,7 +779,7 @@ Print the current value of a contract-data ledger entry Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -826,7 +826,7 @@ If no keys are specificed the contract itself is restored. Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -1501,7 +1501,7 @@ Simulate a transaction envelope from stdin Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -1526,7 +1526,7 @@ Sign a transaction with a ledger or local key Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` @@ -1551,7 +1551,7 @@ Send a transaction envelope to the network Possible values: `true`, `false` * `--config-dir ` — Location of config directory, default is "." -* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically +* `-y`, `--check` — Check with user before signature Possible values: `true`, `false` diff --git a/cmd/crates/soroban-test/tests/it/integration/custom_types.rs b/cmd/crates/soroban-test/tests/it/integration/custom_types.rs index b02740788..6739ff3da 100644 --- a/cmd/crates/soroban-test/tests/it/integration/custom_types.rs +++ b/cmd/crates/soroban-test/tests/it/integration/custom_types.rs @@ -9,11 +9,7 @@ use super::util::invoke_with_roundtrip; fn invoke_custom(e: &TestEnv, id: &str, func: &str) -> assert_cmd::Command { let mut s = e.new_assert_cmd("contract"); - s.arg("invoke") - .arg("--id") - .arg(id) - .arg("--") - .arg(func); + s.arg("invoke").arg("--id").arg(id).arg("--").arg(func); s } diff --git a/cmd/soroban-cli/src/signer.rs b/cmd/soroban-cli/src/signer.rs index f48bdf049..af865b110 100644 --- a/cmd/soroban-cli/src/signer.rs +++ b/cmd/soroban-cli/src/signer.rs @@ -24,7 +24,7 @@ pub enum Error { Ledger(#[from] stellar_ledger::Error), #[error(transparent)] Xdr(#[from] xdr::Error), - #[error("User cancelled signing, perhaps need to add -y")] + #[error("User cancelled signing, perhaps need to remove --check")] UserCancelledSigning, }