diff --git a/README.md b/README.md index 86525e34c..914fc82b7 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,8 @@ prompt = ":) " | `show_progress` | Whether to show a progress bar when executing queries. | | `show_stats` | Whether to show statistics after executing queries. | | `max_display_rows` | The maximum number of rows to display in table output format. | +| `max_width` | Limit display render box max width, 0 means default to the size of the terminal. | +| `max_col_width` | Limit display render each column max width, smaller than 3 means disable the limit. | | `output_format` | The output format to use. | | `time` | Whether to show the time elapsed when executing queries. | | `multi_line` | Whether to allow multi-line input. | diff --git a/cli/src/config.rs b/cli/src/config.rs index 58a5be6ed..6c81e91c6 100644 --- a/cli/src/config.rs +++ b/cli/src/config.rs @@ -56,7 +56,7 @@ pub struct Settings { pub max_display_rows: usize, /// limit display render each column max width, smaller than 3 means disable the limit pub max_col_width: usize, - /// limit display render box max width, 0 means disable the limit + /// limit display render box max width, 0 means default to the size of the terminal pub max_width: usize, /// Output format is set by the flag. pub output_format: OutputFormat,