maintainer-feedback requested: [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


Anton Sayetsky <vsasjason at gmail.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to pkg at FreeBSD.org:
Bug 207402: ports-mgmt/pkg: incorrect description for -A flag
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207402



--- Description ---
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.


More information about the freebsd-pkg mailing list