Skip to content

Commit

Permalink
Add json-pretty-print-enabled cli option (#1387)
Browse files Browse the repository at this point in the history
* add option

Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>

* add option

Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>

* Apply suggestions from code review

Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>

---------

Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>
Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>
Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>
  • Loading branch information
gtebrean and alexandratran committed Aug 28, 2023
1 parent 512995e commit ad9534d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
<!--tabs-->
# Syntax
```bash
--json-pretty-print-enabled[=<true|false>]
```
# Example
```bash
--json-pretty-print-enabled=true
```
# Environment variable
```bash
BESU_JSON_PRETTY_PRINT_ENABLED=true
```
# Configuration file
```bash
json-pretty-print-enabled=true
```
<!--/tabs-->
Enables or disables the pretty-print output for HTTP and WebSocket responses. The default is `false`.
### `security-module`
<!--tabs-->
Expand Down

0 comments on commit ad9534d

Please sign in to comment.