[Bug 207402] ports-mgmt/pkg: incorrect description for -A flag

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 22 00:32:03 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207402

            Bug ID: 207402
           Summary: ports-mgmt/pkg: incorrect description for -A flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg at FreeBSD.org
          Reporter: vsasjason at gmail.com
             Flags: maintainer-feedback?(pkg at FreeBSD.org)
          Assignee: pkg at FreeBSD.org

root at cs0:~# pkg info pkg
pkg-1.6.4
Name           : pkg
Version        : 1.6.4
Installed on   : Sat Feb 13 15:32:39 2016 MSK
Origin         : ports-mgmt/pkg
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg at FreeBSD.org
WWW            : http://wiki.freebsd.org/pkgng
Comment        : Package manager
Shared Libs provided:
        libpkg.so.3
Annotations    :
Flat size      : 10.8MiB
Description    :
Package management tool

WWW: http://wiki.freebsd.org/pkgng

root at cs0:~# pkg set
Usage: pkg set [-a] [-A [01]] [-o <oldorigin>:<neworigin>] [-n
<oldname>:<newname>] [-y] [-Cgix] <pkg-name>

For more information see 'pkg help set'.
root at cs0:~# pkg set -A lang/perl5.20
pkg: Wrong value for -A. Expecting 0 or 1, got: lang/perl5.20
root at cs0:~#

I think that description for -A flag should be like "[-A {0|1}]".
As an alternative, this flag can switch current "auto" property to reverse.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list