From 79e12b384931b0dcf226449c813e239c60383de2 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:46:30 -0400 Subject: [PATCH] Update doc strings for rpc-header Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> --- cmd/soroban-cli/src/config/network.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/soroban-cli/src/config/network.rs b/cmd/soroban-cli/src/config/network.rs index a395fd9c4..f80d15f22 100644 --- a/cmd/soroban-cli/src/config/network.rs +++ b/cmd/soroban-cli/src/config/network.rs @@ -47,7 +47,7 @@ pub struct Args { help_heading = HEADING_RPC, )] pub rpc_url: Option, - /// Optional RPC provider api key headers + /// Optional header (e.g. API Key) to include in requests to the RPC #[arg( long = "rpc-header", requires = "rpc_url", @@ -106,7 +106,7 @@ pub struct Network { help_heading = HEADING_RPC, )] pub rpc_url: String, - /// Optional RPC provider api key header + /// Optional header (e.g. API Key) to include in requests to the RPC #[arg( long = "rpc-header", env = "STELLAR_RPC_HEADER",