Skip to content

Commit

Permalink
Update doc strings for rpc-header
Browse files Browse the repository at this point in the history
Co-authored-by: Leigh McCulloch <[email protected]>
  • Loading branch information
elizabethengelman and leighmcculloch authored Sep 25, 2024
1 parent b2e1722 commit 79e12b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/soroban-cli/src/config/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct Args {
help_heading = HEADING_RPC,
)]
pub rpc_url: Option<String>,
/// 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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 79e12b3

Please sign in to comment.