git: cb56f86025b8 - main - protect.1: Improve synopsis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Jul 2022 18:10:17 UTC
The branch main has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=cb56f86025b88bc4174aa668b3966886b8420955
commit cb56f86025b88bc4174aa668b3966886b8420955
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-07-07 13:12:50 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-07-07 18:09:16 +0000
protect.1: Improve synopsis
While here, make the list's -width argument a bit shorter for
readability.
MFC after: 3 days
---
usr.bin/protect/protect.1 | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/usr.bin/protect/protect.1 b/usr.bin/protect/protect.1
index d2910ae761b7..87a8169b1885 100644
--- a/usr.bin/protect/protect.1
+++ b/usr.bin/protect/protect.1
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 12, 2022
+.Dd July 7, 2022
.Dt PROTECT 1
.Os
.Sh NAME
@@ -37,7 +37,10 @@
.Ar command
.Nm
.Op Fl cdi
-.Fl g Ar pgrp | Fl p Ar pid
+.Fl g Ar pgrp
+.Nm
+.Op Fl cdi
+.Fl p Ar pid
.Sh DESCRIPTION
The
.Nm
@@ -46,7 +49,7 @@ The kernel does not kill protected processes when swap space is exhausted.
Note that this protected state is not inherited by child processes by default.
.Pp
The options are:
-.Bl -tag -width XXXXXXXXXX
+.Bl -tag -width command
.It Fl c
Remove protection from the specified processes.
.It Fl d