Bug 207402 - ports-mgmt/pkg: incorrect description for -A flag
Summary: ports-mgmt/pkg: incorrect description for -A flag
Status: New
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-22 00:32 UTC by Anton Saietskii
Modified: 2018-01-12 10:51 UTC (History)
1 user (show)

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


Attachments

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
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.
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 w.schwarzenfeld freebsd_triage 2018-01-12 10:51:49 UTC
A new ping!