Page MenuHomeFreeBSD

nvmecontrol.8: Fix the SYNOPSIS section
ClosedPublic

Authored by gbe on Feb 27 2024, 5:45 PM.
Tags
None
Referenced Files
F132907721: D44099.id135077.diff
Tue, Oct 21, 2:02 AM
Unknown Object (File)
Wed, Oct 8, 2:14 AM
Unknown Object (File)
Sep 13 2025, 4:25 AM
Unknown Object (File)
Sep 12 2025, 4:29 PM
Unknown Object (File)
Sep 12 2025, 6:29 AM
Unknown Object (File)
Sep 4 2025, 1:33 AM
Unknown Object (File)
Sep 3 2025, 10:07 PM
Unknown Object (File)
Sep 3 2025, 8:04 PM
Subscribers

Details

Summary

Manpage nvmecontrol(8) lists:

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

PR: 276554

Test Plan

mandoc output review and 'mandoc -Tlint' checks'

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56272
Build 53160: arc lint + arc unit