aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schlosser <bsdcode@disroot.org>2024-02-28 08:26:20 +0000
committerGordon Bergling <gbe@FreeBSD.org>2024-02-28 08:26:20 +0000
commit77f6c0ce92888d047d91e87b931242403764902b (patch)
treee3220fa4ef6c313e7539c7e25289d39ade7be75f
parent72b045386dd3db8b31ec3067cb9e160cbd1cfbc6 (diff)
downloadsrc-77f6c0ce92888d047d91e87b931242403764902b.tar.gz
src-77f6c0ce92888d047d91e87b931242403764902b.zip
nvmecontrol.8: Fix the SYNOPSIS section
The manpage of nvmecontrol(8) has the following SYNOPSIS: nvmecontrol format [-f fmt] [-m mset] [-o pi] [-l pil] [-E] [-C] <device-id | namespace-id> The correct switch for the pi option is -p according to sbin/nvmecontrol/format.c: OPT("pi", 'p', arg_uint32, opt, pi, "Protective information") So correct the SYNOPSIS section accordingly. PR: 276554 Reviewed by: imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44099
-rw-r--r--sbin/nvmecontrol/nvmecontrol.84
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nvmecontrol/nvmecontrol.8 b/sbin/nvmecontrol/nvmecontrol.8
index c4ab4429f5cd..edeeb9afa10f 100644
--- a/sbin/nvmecontrol/nvmecontrol.8
+++ b/sbin/nvmecontrol/nvmecontrol.8
@@ -33,7 +33,7 @@
.\"
.\" Author: Jim Harris <jimharris@FreeBSD.org>
.\"
-.Dd December 14, 2022
+.Dd February 28, 2022
.Dt NVMECONTROL 8
.Os
.Sh NAME
@@ -155,7 +155,7 @@
.Ic format
.Op Fl f Ar fmt
.Op Fl m Ar mset
-.Op Fl o Ar pi
+.Op Fl p Ar pi
.Op Fl l Ar pil
.Op Fl E
.Op Fl C