Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2016 00:32:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 207402] ports-mgmt/pkg: incorrect description for -A flag
Message-ID:  <bug-207402-32340-Ek0W9boqei@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207402-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207402-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Anton Sayetsky <vsasjason@gmail.com> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org:
Bug 207402: ports-mgmt/pkg: incorrect description for -A flag
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207402



--- Description ---
root@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@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@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@cs0:~# pkg set -A lang/perl5.20
pkg: Wrong value for -A. Expecting 0 or 1, got: lang/perl5.20
root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207402-32340-Ek0W9boqei>