pg(1): add -p option

This commit is contained in:
dtb
2024-04-22 07:52:41 -06:00
parent 68919bf877
commit 9c1e0d785d
2 changed files with 84 additions and 38 deletions

View File

@@ -9,10 +9,23 @@
pg \(en paginate
.SH SYNOPSIS
pg
.RB ( -p
.RB [ prompt ])
.SH DESCRIPTION
Pg prints standard input to standard output, accepting commands between pages.
.SH OPTIONS
.B -p
.RS
Replaces the default prompt (": ") with the next argument.
.RE
.SH DIAGNOSTICS
Pg returns an unsuccessful exit code if the tty couldn't be opened or if pg was