Skip to content

Commit ad9534d

Browse files
Add json-pretty-print-enabled cli option (#1387)
* add option Signed-off-by: gtebrean <[email protected]> * add option Signed-off-by: gtebrean <[email protected]> * Apply suggestions from code review Signed-off-by: Alexandra Tran Carrillo <[email protected]> --------- Signed-off-by: gtebrean <[email protected]> Signed-off-by: Alexandra Tran Carrillo <[email protected]> Co-authored-by: Alexandra Tran Carrillo <[email protected]>
1 parent 512995e commit ad9534d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/public-networks/reference/cli/options.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,6 +3532,38 @@ rpc-ws-port="6174"
35323532

35333533
The port (TCP) on which WebSocket JSON-RPC listens. The default is `8546`. You must [expose ports appropriately](../../how-to/connect/configure-ports.md).
35343534

3535+
### `json-pretty-print-enabled`
3536+
3537+
<!--tabs-->
3538+
3539+
# Syntax
3540+
3541+
```bash
3542+
--json-pretty-print-enabled[=<true|false>]
3543+
```
3544+
3545+
# Example
3546+
3547+
```bash
3548+
--json-pretty-print-enabled=true
3549+
```
3550+
3551+
# Environment variable
3552+
3553+
```bash
3554+
BESU_JSON_PRETTY_PRINT_ENABLED=true
3555+
```
3556+
3557+
# Configuration file
3558+
3559+
```bash
3560+
json-pretty-print-enabled=true
3561+
```
3562+
3563+
<!--/tabs-->
3564+
3565+
Enables or disables the pretty-print output for HTTP and WebSocket responses. The default is `false`.
3566+
35353567
### `security-module`
35363568

35373569
<!--tabs-->

0 commit comments

Comments
 (0)