Skip to content

Commit 36462d1

Browse files
committed
update man page
1 parent 5248574 commit 36462d1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pspg.1

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with Ronn-NG/v0.10.1
22
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3-
.TH "PSPG" "1" "September 2024" "" "pspg manual"
3+
.TH "PSPG" "1" "May 2025" "" "pspg manual"
44
.SH "NAME"
55
\fBpspg\fR \- Postgres Pager
66
.P
@@ -51,10 +51,19 @@ sudo dnf install pspg
5151
Basic configuration is very simple \- just set system environment variable \fBPSQL_PAGER\fR:
5252
.IP "" 4
5353
.nf
54+
export PSQL_PAGER='pspg'
55+
.fi
56+
.IP "" 0
57+
.P
58+
or with some common options (\fB\-b\fR means blackwhite theme, \fB\-X\fR preserve content after exit):
59+
.IP "" 4
60+
.nf
5461
export PSQL_PAGER='pspg \-X \-b'
5562
.fi
5663
.IP "" 0
5764
.P
65+
Attention: options used in command line has higher priority than options specified in configuration file (\fB~/\.pspgconf\fR)\.
66+
.P
5867
Native installation on MS Windows is not supported, but \fBpspg\fR works well inside \fBwsl2\fR\. Inside wsl2 environment, the installation is same like on used Linux system\.
5968
.P
6069
Installation on macOS/homebrew is simple by \fBbrew install pspg\fR\.
@@ -179,6 +188,8 @@ Name Usage
179188
\fBPSPG_HISTORY\fR path to file pspg's readline history file
180189
.TE
181190
.SH "Example of config file"
191+
The default path of config file is \fB~/\.pspgconf\fR\.
192+
.P
182193
The fields names can be different than from related command line options:
183194
.IP "" 4
184195
.nf

0 commit comments

Comments
 (0)