From nobody@FreeBSD.org  Wed Jul  6 09:50:15 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D348A1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jul 2011 09:50:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C35088FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jul 2011 09:50:15 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p669oFet095811
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Jul 2011 09:50:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p669oF8G095810;
	Wed, 6 Jul 2011 09:50:15 GMT
	(envelope-from nobody)
Message-Id: <201107060950.p669oF8G095810@red.freebsd.org>
Date: Wed, 6 Jul 2011 09:50:15 GMT
From: Alexander Best <arundel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: top(1) man page not mentioning all flags that are toggles
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158682
>Category:       bin
>Synopsis:       top(1) man page not mentioning all flags that are toggles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 10:00:21 UTC 2011
>Closed-Date:    Mon Mar 04 18:55:20 UTC 2013
>Last-Modified:  Mon Mar 04 18:55:20 UTC 2013
>Originator:     Alexander Best
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #19 r223802=64379d4-dirty: Wed Jul  6 01:59:56 CEST 2011     arundel@otaku:/usr/obj/usr/git-freebsd-head/sys/ARUNDEL  amd64
>Description:
The top(1) man page contains the following sentence:

"The options -I, -S, -u, and -t are actually toggles."

That list is incomplete and should also include the following flags:

-C, -a, -H, -j and -z

cheers.
alex
>How-To-Repeat:
'top [-CC | -aa | -HH | -jj | -zz]' shows that those flags are in fact toggles, too.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: jhb 
State-Changed-When: Fri Jul 8 13:45:58 UTC 2011 
State-Changed-Why:  
Fix committed to HEAD. 


Responsible-Changed-From-To: freebsd-bugs->jhb 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Fri Jul 8 13:45:58 UTC 2011 
Responsible-Changed-Why:  
Fix committed to HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158682 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/158682: commit references a PR
Date: Fri,  8 Jul 2011 13:46:07 +0000 (UTC)

 Author: jhb
 Date: Fri Jul  8 13:45:53 2011
 New Revision: 223870
 URL: http://svn.freebsd.org/changeset/base/223870
 
 Log:
   Note that -a, -C, -H, -j, and -z are also toggles.
   
   PR:		bin/158682
   Reported by:	arundel
   MFC after:	3 days
 
 Modified:
   head/contrib/top/top.X
 
 Modified: head/contrib/top/top.X
 ==============================================================================
 --- head/contrib/top/top.X	Fri Jul  8 13:04:47 2011	(r223869)
 +++ head/contrib/top/top.X	Fri Jul  8 13:45:53 2011	(r223870)
 @@ -200,11 +200,16 @@ a user to set his or her own defaults.  
  can also be specified in the environment variable
  .BR TOP .
  The options
 +.BR \-a ,
 +.BR \-C ,
 +.BR \-H ,
  .BR \-I ,
 +.BR \-j ,
  .BR \-S ,
 +.BR \-t ,
  .BR \-u ,
  and
 -.B \-t
 +.B \-z
  are actually toggles.  A second specification of any of these options
  will negate the first.  Thus a user who has the environment variable
  .B TOP
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: jhb 
State-Changed-When: Mon Mar 4 18:54:22 UTC 2013 
State-Changed-Why:  
Merged to 8 a while ago. 

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