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:   [Bug 207402] ports-mgmt/pkg: incorrect description for -A flag
Message-ID:  <bug-207402-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207402

            Bug ID: 207402
           Summary: ports-mgmt/pkg: incorrect description for -A flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: vsasjason@gmail.com
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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