[Bug 288366] pkg-repositories(8) lists "-d" flag twice; 2nd flag should be "-e"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jul 2025 17:57:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288366

            Bug ID: 288366
           Summary: pkg-repositories(8) lists "-d" flag twice; 2nd flag
                    should be "-e"
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: sr@genyosha.net
                CC: doc@FreeBSD.org

In pkg-repositories(8) OPTIONS section, the -d flag is listed twice:

     -d, --disabled
            Print disabled repositories only.

     -d, --enabled
            Print enabled repositories only.

Presumably the 2nd instance should actually be "-e".

$ pkg repositories -d
$ pkg repositories --disabled
$
$ pkg repositories -e
[ repo details output ]
$ pkg repositories --enabled
[ same repo details output ]

I see this in 14.x and CURRENT.

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