diff mbox series

man: fix a formatting on the keyctl.1 man page

Message ID 20220510110444.14192-1-vdronov@redhat.com (mailing list archive)
State New
Headers show
Series man: fix a formatting on the keyctl.1 man page | expand

Commit Message

Vlad Dronov May 10, 2022, 11:04 a.m. UTC
Fix a formatting and a command output on
the keyctl.1 man page in a couple of places.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
---

Hi,

This is a fix to userspace keyutils utilities, not to a kernel
security/keys/ code:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/

Best regards,
Vladis

---
 man/keyctl.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/man/keyctl.1 b/man/keyctl.1
index 2343762..c1d067f 100644
--- a/man/keyctl.1
+++ b/man/keyctl.1
@@ -302,7 +302,7 @@  The \fBpadd\fR variant of the command reads the data from stdin rather than
 taking it from the command line:
 
 .RS
-.fi
+.nf
 $ echo \-n stuff | keyctl padd user mykey @u
 26
 .fi
@@ -499,6 +499,7 @@  reject all links.
 .RS
 .nf
 $ keyctl restrict_keyring $1 asymmetric builtin_trusted
+.fi
 .RE
 .SS Read a key
 \fBkeyctl read\fR <key>
@@ -522,7 +523,7 @@  $ keyctl read 26
 $ keyctl print 26
 b
 $ keyctl pipe 26
-$
+b$
 .fi
 .RE
 .SS List a keyring