From nobody@FreeBSD.org  Fri Mar 26 14:06:31 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3D9DB16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Mar 2004 14:06:31 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB6143D31
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Mar 2004 14:06:31 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2QM6U72063793
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Mar 2004 14:06:30 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i2QM6UPA063792;
	Fri, 26 Mar 2004 14:06:30 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403262206.i2QM6UPA063792@www.freebsd.org>
Date: Fri, 26 Mar 2004 14:06:30 -0800 (PST)
From: "Ernesto P.S." <lysander@worldonline.es>
To: freebsd-gnats-submit@FreeBSD.org
Subject: "pkg_info -s" should work, according to the manpage
X-Send-Pr-Version: www-2.3

>Number:         64786
>Category:       misc
>Synopsis:       "pkg_info -s" should work, according to the manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cperciva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 26 14:10:12 PST 2004
>Closed-Date:    Mon Apr 05 20:50:17 PDT 2004
>Last-Modified:  Mon Apr 05 20:50:17 PDT 2004
>Originator:     Ernesto P.S.
>Release:        5.1
>Organization:
>Environment:
FreeBSD  5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Sep 26 19:29:02 CEST 2003     Lysander@:/usr/src/sys/i386/compile/PENTIUM4  i386     
>Description:
from the manpage:
pkg_info [-bcdDfgGiIkLmopPqQrRsvVx] [-e package] [-l prefix]
              [-t template] [pkg-name ...]

but "pkg_info -s" says it needs a package name, so instead one has to type "pkg_info -sa". I don't know if that's supposed to happen and the doc has a typo, or there's no need for the "a" (just "pkg_info" works, after all; why is there an "-a" option?)


>How-To-Repeat:
pkg_info -s
>Fix:
I didn't send any patch since don't know if it's the software or the info (I'd set -a by default)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: cperciva 
Responsible-Changed-When: Sat Mar 27 11:27:31 PST 2004 
Responsible-Changed-Why:  
I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64786 
State-Changed-From-To: open->patched 
State-Changed-By: cperciva 
State-Changed-When: Tue Mar 30 12:49:16 PST 2004 
State-Changed-Why:  
Fixed in -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64786 
State-Changed-From-To: patched->closed 
State-Changed-By: cperciva 
State-Changed-When: Mon Apr 5 20:50:02 PDT 2004 
State-Changed-Why:  
MFC done. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64786 
>Unformatted:
