]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
prlimit: in man page, mark --resource as placeholder, not literal option
authorBenno Schulenberg <bensberg@telfort.nl>
Sat, 15 Feb 2025 16:18:42 +0000 (17:18 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Feb 2025 10:07:09 +0000 (11:07 +0100)
Also, show that --pid takes an argument, and improve its description.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/prlimit.1.adoc

index 49534cd52d2284580db5e9140e3f8beb012e5daa..4e839016d264e9b8b4ec1f36762712c117b46411 100644 (file)
@@ -18,9 +18,9 @@ prlimit - get and set process resource limits
 
 == SYNOPSIS
 
-*prlimit* [options] [*--resource*[**=**_limits_]] [*--pid* _PID_]
+*prlimit* [options] [**--**_resource_[**=**_limits_]] [*--pid* _PID_]
 
-*prlimit* [options] [*--resource*[**=**_limits_]] _command_ [_argument_...]
+*prlimit* [options] [**--**_resource_[**=**_limits_]] _command_ [_argument_...]
 
 == DESCRIPTION
 
@@ -46,8 +46,9 @@ Do not print a header line.
 *-o*, *--output* _list_::
 Define the output columns to use. If no output arrangement is specified, then a default set is used. Use *--help* to get a list of all supported columns.
 
-*-p*, *--pid*::
-Specify the process id; if none is given, the running process will be used.
+*-p*, *--pid* _PID_::
+Specify the process ID.  Without this option (and without a _command_),
+the running process will be used.
 
 *--raw*::
 Use the raw output format.