]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nvmecontrol.8: Fix the SYNOPSIS section
authorStefan Schlosser <bsdcode@disroot.org>
Wed, 28 Feb 2024 08:26:20 +0000 (09:26 +0100)
committerGordon Bergling <gbe@FreeBSD.org>
Wed, 28 Feb 2024 08:26:20 +0000 (09:26 +0100)
commit77f6c0ce92888d047d91e87b931242403764902b
treee3220fa4ef6c313e7539c7e25289d39ade7be75f
parent72b045386dd3db8b31ec3067cb9e160cbd1cfbc6
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