Date: Mon, 09 Dec 2013 00:11:14 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: freebsd-ports@freebsd.org Subject: Re: Output change of 'pkg info' after 1.2. Message-ID: <20131209.001114.173114891.yasu@utahime.org> In-Reply-To: <20131206082929.GP76976@ithaqua.etoilebsd.net> References: <20131205162409.GA4906@ithaqua.etoilebsd.net> <20131206.015422.185732494.yasu@utahime.org> <20131206082929.GP76976@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Baptiste Daroussin <bapt@FreeBSD.org> Subject: Re: Output change of 'pkg info' after 1.2. Date: Fri, 6 Dec 2013 09:29:30 +0100 >> Then I have one question. Is there any way to get same output as >> 'pkg info pkg-name' of 1.1.x? I tried some combination of options but >> could not find proper one. >> > only pkg query now. > > pkg query "%n-%v" and to simply your life you could probably have in your > pkg.conf (since pkg 1.2) > alias: { > whatis : "query '%n-%v'" > } > > > $ pkg whatis pkgconf > pkgconf-0.9.3 > > etc. Thank you for answering my quetion. I added alias definition above in my pkg.conf. BTW, I noticed there is no explanation about 'alias' option in pkg.conf(5) but two examples in EXAMPLES section. It is far from fatal but anyway I sent PR and also opened new issue on GitHub. http://www.freebsd.org/cgi/query-pr.cgi?pr=184594 https://github.com/freebsd/pkg/issues/676 --- Yasuhiro KIMURA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131209.001114.173114891.yasu>