From 6810693655f2467024781a976b49628447675243 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Thu, 3 Oct 2019 23:56:07 +0200 Subject: [PATCH] Document compact output option in README --- README.md | 15 +++++++++++++-- tests/config.toml | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0e7a42..a32abe3 100644 --- a/README.md +++ b/README.md @@ -180,8 +180,11 @@ Example customization: ### Display -Using `display` config you can customize whether the pager should be use by -default or not (default `false`). +In the `display` section you can configure the output format. + +#### `use_pager` + +Specifies whether the pager should be used by default or not (default `false`). [display] use_pager = true @@ -189,6 +192,14 @@ default or not (default `false`). When enabled, `less -R` is used as pager. To override the pager command used, set the `PAGER` environment variable. +#### `compact` + +Set this to enforce more compact output, where empty lines are stripped out +(default `false`). + + [display] + compact = true + ## Autocompletion diff --git a/tests/config.toml b/tests/config.toml index 5319e7a..c3a9cd6 100644 --- a/tests/config.toml +++ b/tests/config.toml @@ -18,3 +18,4 @@ bold = false [display] use_pager = false +compact = false