[PATCH 09/10] prlimit: in man page, mark --resource as placeholder, not literal option

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Also, show that --pid takes an argument, and improve its description.

Signed-off-by: Benno Schulenberg <[email protected]>
---
 sys-utils/prlimit.1.adoc | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-utils/prlimit.1.adoc b/sys-utils/prlimit.1.adoc
index 49534cd52..4e839016d 100644
--- a/sys-utils/prlimit.1.adoc
+++ b/sys-utils/prlimit.1.adoc
@@ -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.
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.