git: ee0ffe0e3e36 - stable/14 - nvmecontrol.8: Fix the SYNOPSIS section

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 03 Mar 2024 17:49:32 UTC
The branch stable/14 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=ee0ffe0e3e366d3fc919bc4320e5514a44852a76

commit ee0ffe0e3e366d3fc919bc4320e5514a44852a76
Author:     Stefan Schlosser <bsdcode@disroot.org>
AuthorDate: 2024-02-28 08:26:20 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-03-03 17:48:51 +0000

    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
    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 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