From ec4a4c8b71d9930da5cdb7eeb1bf899b889cf6cc Mon Sep 17 00:00:00 2001 From: Petr Ermishkin Date: Mon, 24 Mar 2025 13:03:48 +0300 Subject: [PATCH] Fix CLI help for `--rpc-url` parameter --- crates/humanode-peer/src/cli/params.rs | 2 +- .../bash/fixtures/help-output/help.bioauth.auth-url.stdout.txt | 2 +- utils/e2e-tests/bash/fixtures/help-output/help.stdout.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/humanode-peer/src/cli/params.rs b/crates/humanode-peer/src/cli/params.rs index 4a56ad28e..211db604a 100644 --- a/crates/humanode-peer/src/cli/params.rs +++ b/crates/humanode-peer/src/cli/params.rs @@ -22,7 +22,7 @@ pub struct BioauthFlowParams { pub webapp_url: Option, /// The URL to pass to the web app to connect to the node RPC. - /// If not passed, a URL with `localhost` and the HTTP RPC port will be used. + /// If not passed, a URL with WebSocket scheme and `localhost` path will be used. #[arg(long, value_name = "RPC_URL", conflicts_with_all = &["rpc_url_scheme_preference", "rpc_url_ngrok_detect", "rpc_url_unset"])] pub rpc_url: Option, diff --git a/utils/e2e-tests/bash/fixtures/help-output/help.bioauth.auth-url.stdout.txt b/utils/e2e-tests/bash/fixtures/help-output/help.bioauth.auth-url.stdout.txt index 130d6ba3d..6d2d7e8fc 100644 --- a/utils/e2e-tests/bash/fixtures/help-output/help.bioauth.auth-url.stdout.txt +++ b/utils/e2e-tests/bash/fixtures/help-output/help.bioauth.auth-url.stdout.txt @@ -519,7 +519,7 @@ Options: The URL to use for the web app. Used to print the QR Code to the console, so it doesn't matter much --rpc-url - The URL to pass to the web app to connect to the node RPC. If not passed, a URL with `localhost` and the HTTP RPC port will be used + The URL to pass to the web app to connect to the node RPC. If not passed, a URL with WebSocket scheme and `localhost` path will be used --rpc-url-scheme-preference What RPC URL scheme to prefer diff --git a/utils/e2e-tests/bash/fixtures/help-output/help.stdout.txt b/utils/e2e-tests/bash/fixtures/help-output/help.stdout.txt index 93c97dcaf..6e2b8e0b3 100644 --- a/utils/e2e-tests/bash/fixtures/help-output/help.stdout.txt +++ b/utils/e2e-tests/bash/fixtures/help-output/help.stdout.txt @@ -537,7 +537,7 @@ Options: The URL to use for the web app. Used to print the QR Code to the console, so it doesn't matter much --rpc-url - The URL to pass to the web app to connect to the node RPC. If not passed, a URL with `localhost` and the HTTP RPC port will be used + The URL to pass to the web app to connect to the node RPC. If not passed, a URL with WebSocket scheme and `localhost` path will be used --rpc-url-scheme-preference What RPC URL scheme to prefer