Bug 207402 - ports-mgmt/pkg: incorrect description for -A flag
Summary: ports-mgmt/pkg: incorrect description for -A flag
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-pkg mailing list
Depends on:
Reported: 2016-02-22 00:32 UTC by Anton Saietskii
Modified: 2020-04-27 07:17 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Note You need to log in before you can comment on or make changes to this bug.
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!
Comment 5 Gleb Popov freebsd_committer 2020-04-25 16:12:18 UTC
Pending pull request upstream: https://github.com/freebsd/pkg/pull/1836
Comment 6 Gleb Popov freebsd_committer 2020-04-27 07:17:09 UTC
Merged upstream, will be fixed in the next release.