ps: Fix synopsis

In the -L mode, the -L flag is not optional.

MFC after:	3 days
Sponsored by:	Klara Inc.
This commit is contained in:
Mateusz Piotrowski 2023-04-25 13:38:10 +02:00
parent b4d3dd8615
commit 3f46bf40a1
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
.Dd June 27, 2020
.Dd April 25, 2023
.Dt PS 1
.Os
.Sh NAME
@ -49,7 +49,7 @@
.Op Fl U Ar user Ns Op , Ns Ar user Ns Ar ...
.Nm
.Op Fl -libxo
.Op Fl L
.Fl L
.Sh DESCRIPTION
The
.Nm

View file

@ -1462,6 +1462,6 @@ usage(void)
"usage: ps " SINGLE_OPTS " [-O fmt | -o fmt] [-G gid[,gid...]]",
" [-J jid[,jid...]] [-M core] [-N system]",
" [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]",
" ps [-L]");
" ps -L");
exit(1);
}