git: 77f6c0ce9288 - main - nvmecontrol.8: Fix the SYNOPSIS section

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 08:26:54 UTC
The branch main has been updated by gbe:

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

commit 77f6c0ce92888d047d91e87b931242403764902b
Author:     Stefan Schlosser <bsdcode@disroot.org>
AuthorDate: 2024-02-28 08:26:20 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-02-28 08:26:20 +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
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D44099
---
 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