Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2013 18:27:59 -0400 (EDT)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181274: pkg(1) manual page and usage message synopses incorrect
Message-ID:  <201308132227.r7DMRxdO016297@hergotha.csail.mit.edu>
Resent-Message-ID: <201308132230.r7DMU0Wu066259@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181274
>Category:       ports
>Synopsis:       pkg(1) manual page and usage message synopses incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 13 22:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
FreeBSD Proejct
>Environment:
System: FreeBSD hergotha.csail.mit.edu 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #9 r253698: Fri Jul 26 22:14:08 EDT 2013 wollman@hergotha.csail.mit.edu:/usr/obj/usr/src/sys/HERGOTHA amd64

pkg-1.1.4_1

>Description:

The usage message emitted by pkg(1), while it agrees with the manual
page, is wrong.

>How-To-Repeat:

Run "pkg info -o" without specifying a package name.

>Fix:

The synopsis should read:

     pkg info [-AbBdDeEfklopqrRs] [-a | [-g | -x | -O] [-i] pkg-name | -F pkg-file]

Not sure how to write that in -mdoc macros.  As it currently reads,
the synopsis implies that none of the options are available when -a is
specified, and does not show that -g, -x, and -O are mutually
exclusive.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308132227.r7DMRxdO016297>