summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2024-01-05 10:02:07 -0700
committertjp <tjp@ctrl-c.club>2024-01-05 10:02:07 -0700
commita8bfa115fb7186643258d1d654b770c9773bff4a (patch)
tree0077ca05305afc79c453830c4ff25bee086b8a6d /help.go
parentcccf020a84f7cfe7f17ea94dedb0e5fb89f57c94 (diff)
auto_pager bool to pager string always/auto/never
Diffstat (limited to 'help.go')
-rw-r--r--help.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/help.go b/help.go
index ab36c7d..f402ec9 100644
--- a/help.go
+++ b/help.go
@@ -99,9 +99,10 @@ The section "[main]" contains general configuration options:
stands in for $HOME. The default is "~" (the user's home directory).
* quiet (boolean): Disables automatically printing the page after any
navigation action. The default is false.
- * auto_pager (boolean): Sends pages through "less -F", where the -F
- switch disables the pager if the output fits in a single screen.
- This is true by default.
+ * pager (string): Set this to "always", "never", or "auto". "always"
+ will pipe every page printed through less(1), "never" will not, and
+ "auto" will pipe it through "less -F", which skips the pager when
+ the output fits on a single screen anyway.
`[1:],