From ee0ffe0e3e366d3fc919bc4320e5514a44852a76 Mon Sep 17 00:00:00 2001 From: Stefan Schlosser Date: Wed, 28 Feb 2024 09:26:20 +0100 Subject: [PATCH] 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] 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 Differential Revision: https://reviews.freebsd.org/D44099 (cherry picked from commit 77f6c0ce92888d047d91e87b931242403764902b) --- sbin/nvmecontrol/nvmecontrol.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/nvmecontrol/nvmecontrol.8 b/sbin/nvmecontrol/nvmecontrol.8 index c4ab4429f5c..edeeb9afa10 100644 --- a/sbin/nvmecontrol/nvmecontrol.8 +++ b/sbin/nvmecontrol/nvmecontrol.8 @@ -33,7 +33,7 @@ .\" .\" Author: Jim Harris .\" -.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