Bug 207402

Summary: ports-mgmt/pkg: incorrect description for -A flag
Product: Ports & Packages Reporter: Anton Saietskii <vsasjason>
Component: Individual Port(s)Assignee: freebsd-pkg mailing list <pkg>
Status: New ---    
Severity: Affects Some People CC: w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (pkg)
Version: Latest   
Hardware: Any   
OS: Any   

Description Anton Saietskii 2016-02-22 00:32:03 UTC
root@cs0:~# pkg info pkg
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:
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

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.
Comment 1 Anton Saietskii 2016-07-15 20:17:52 UTC
Is there any progress on this?
Comment 2 Baptiste Daroussin freebsd_committer 2016-07-16 15:11:07 UTC
I completely forgot, thanks for remind I'll look into it in soon
Comment 3 Anton Saietskii 2016-12-17 14:04:08 UTC
Pinging again.
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-01-12 10:51:49 UTC
A new ping!