[Bug 276554] [patch] nvmecontrol(8) has wrong pi-switch in format synopsis

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Jan 2024 12:58:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276554

            Bug ID: 276554
           Summary: [patch] nvmecontrol(8) has wrong pi-switch in format
                    synopsis
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: bsdcode@disroot.org
                CC: doc@FreeBSD.org

Created attachment 247887
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247887&action=edit
fix pi-switch in synopsis

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

Patch fixes the format synopsis.

-- 
You are receiving this mail because:
You are on the CC list for the bug.