Date: Mon, 04 Mar 2013 02:21:04 -0800 From: Darren Pilgrim <list_freebsd@bluerosetech.com> To: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: pkgng info command: -d overrides -r? Message-ID: <51347590.4090201@bluerosetech.com>
next in thread | raw e-mail | index | archive | help
With pkg_info, I can get a list of ports requiring and depended on by a given port by doing `pkg_info -rR`. In pkgNG, the equivalent would be `pkg info -dr`, but there appears to be a problem giving -d and -r at the same time. For example: # pkg info -r postgresql-client-9.2.3 postgresql-client-9.2.3 is required by: postgresql-server-9.2.3 # pkg info -d postgresql-client-9.2.3 postgresql-client-9.2.3 depends on: pkgconf-0.8.9 libiconv-1.14 libxml2-2.7.8_5 gettext-0.18.1.1 So the output of -dr should be something like this: # pkg info -dr postgresql-client-9.2.3 postgresql-client-9.2.3 depends on: pkgconf-0.8.9 libiconv-1.14 libxml2-2.7.8_5 gettext-0.18.1.1 postgresql-client-9.2.3 is required by: postgresql-server-9.2.3 But instead I get this: # pkg info -dr postgresql-client-9.2.3 postgresql-client-9.2.3 depends on: pkgconf-0.8.9 libiconv-1.14 libxml2-2.7.8_5 gettext-0.18.1.1 # pkg info -rd postgresql-client-9.2.3 postgresql-client-9.2.3 depends on: pkgconf-0.8.9 libiconv-1.14 libxml2-2.7.8_5 gettext-0.18.1.1 It looks like pkg ignores -r if -d is given, but the two shouldn't be exclusive. Am I missing something?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51347590.4090201>