Page MenuHomeFreeBSD

nvmecontrol.8: Fix the SYNOPSIS section
ClosedPublic

Authored by gbe on Feb 27 2024, 5:45 PM.
Tags
None
Referenced Files
F113718244: D44099.id135077.diff
Wed, Apr 2, 12:37 PM
Unknown Object (File)
Feb 10 2025, 6:55 AM
Unknown Object (File)
Feb 4 2025, 6:06 PM
Unknown Object (File)
Feb 3 2025, 9:19 PM
Unknown Object (File)
Jan 29 2025, 5:19 PM
Unknown Object (File)
Jan 27 2025, 4:40 PM
Unknown Object (File)
Jan 25 2025, 5:30 AM
Unknown Object (File)
Jan 25 2025, 4:27 AM
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 Not Applicable
Unit
Tests Not Applicable