From 05aec5e20c31835b215d297a29877640756538fb Mon Sep 17 00:00:00 2001 From: gtebrean <99179176+gtebrean@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:00:17 +0300 Subject: [PATCH 1/3] add option Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com> --- .../public-networks/reference/cli/options.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md b/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md index e169144f3ad..a8cb08d4163 100644 --- a/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md +++ b/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md @@ -3532,6 +3532,38 @@ rpc-ws-port="6174" The port (TCP) on which WebSocket JSON-RPC listens. The default is `8546`. You must [expose ports appropriately](../../how-to/connect/configure-ports.md). +### `json-pretty-print-enabled` + + + +# Syntax + +```bash +--json-pretty-print-enabled[=] +``` + +# Example + +```bash +--json-pretty-print-enabled=true +``` + +# Environment variable + +```bash +JSON_PRETTY_PRINT_ENABLED=true +``` + +# Configuration file + +```bash +json-pretty-print-enabled=true +``` + + + +Enables or disables the pretty-print the output for HTTP and Websockets responses. The default is `false`. + ### `security-module` From bbea686138cfc4d4c0d25187a3ae1d9bea83e156 Mon Sep 17 00:00:00 2001 From: gtebrean <99179176+gtebrean@users.noreply.github.com> Date: Wed, 23 Aug 2023 16:15:02 +0300 Subject: [PATCH 2/3] add option Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com> --- docs/public-networks/reference/cli/options.md | 32 +++++++++++++++++++ .../public-networks/reference/cli/options.md | 32 ------------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index e169144f3ad..a8cb08d4163 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3532,6 +3532,38 @@ rpc-ws-port="6174" The port (TCP) on which WebSocket JSON-RPC listens. The default is `8546`. You must [expose ports appropriately](../../how-to/connect/configure-ports.md). +### `json-pretty-print-enabled` + + + +# Syntax + +```bash +--json-pretty-print-enabled[=] +``` + +# Example + +```bash +--json-pretty-print-enabled=true +``` + +# Environment variable + +```bash +JSON_PRETTY_PRINT_ENABLED=true +``` + +# Configuration file + +```bash +json-pretty-print-enabled=true +``` + + + +Enables or disables the pretty-print the output for HTTP and Websockets responses. The default is `false`. + ### `security-module` diff --git a/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md b/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md index a8cb08d4163..e169144f3ad 100644 --- a/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md +++ b/versioned_docs/version-23.7.1/public-networks/reference/cli/options.md @@ -3532,38 +3532,6 @@ rpc-ws-port="6174" The port (TCP) on which WebSocket JSON-RPC listens. The default is `8546`. You must [expose ports appropriately](../../how-to/connect/configure-ports.md). -### `json-pretty-print-enabled` - - - -# Syntax - -```bash ---json-pretty-print-enabled[=] -``` - -# Example - -```bash ---json-pretty-print-enabled=true -``` - -# Environment variable - -```bash -JSON_PRETTY_PRINT_ENABLED=true -``` - -# Configuration file - -```bash -json-pretty-print-enabled=true -``` - - - -Enables or disables the pretty-print the output for HTTP and Websockets responses. The default is `false`. - ### `security-module` From 16756185e833e1b74961eea442cc0f61b83bec60 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:12:21 -0700 Subject: [PATCH 3/3] Apply suggestions from code review Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> --- docs/public-networks/reference/cli/options.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index a8cb08d4163..fb37c0e1244 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3551,7 +3551,7 @@ The port (TCP) on which WebSocket JSON-RPC listens. The default is `8546`. You m # Environment variable ```bash -JSON_PRETTY_PRINT_ENABLED=true +BESU_JSON_PRETTY_PRINT_ENABLED=true ``` # Configuration file @@ -3562,7 +3562,7 @@ json-pretty-print-enabled=true -Enables or disables the pretty-print the output for HTTP and Websockets responses. The default is `false`. +Enables or disables the pretty-print output for HTTP and WebSocket responses. The default is `false`. ### `security-module`