From a6c68aee6fd1e623e105fb7bf1839a37ad0da283 Mon Sep 17 00:00:00 2001 From: Elliot Voris Date: Wed, 25 Sep 2024 14:28:09 -0500 Subject: [PATCH] reformat link to stellar lab, remove surrounding angle brackets --- FULL_HELP_DOCS.md | 2 +- cmd/soroban-cli/src/config/sign_with.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index b3645c850..a2d5644f6 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -1338,7 +1338,7 @@ Sign a transaction envelope appending the signature to the envelope * `--sign-with-key ` — Sign with a local key. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, `--hd-path` defaults to the `0` path * `--hd-path ` — If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0` -* `--sign-with-lab` — Sign with +* `--sign-with-lab` — Sign with https://lab.stellar.org * `--rpc-url ` — RPC server endpoint * `--network-passphrase ` — Network passphrase to sign the transaction sent to the rpc server * `--network ` — Name of network to use from config diff --git a/cmd/soroban-cli/src/config/sign_with.rs b/cmd/soroban-cli/src/config/sign_with.rs index db1c44d14..475013bc8 100644 --- a/cmd/soroban-cli/src/config/sign_with.rs +++ b/cmd/soroban-cli/src/config/sign_with.rs @@ -42,7 +42,8 @@ pub struct Args { /// If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0` pub hd_path: Option, - /// Sign with + #[allow(clippy::doc_markdown)] + /// Sign with https://lab.stellar.org #[arg(long, conflicts_with = "sign_with_key", env = "STELLAR_SIGN_WITH_LAB")] pub sign_with_lab: bool, }