NetBSD Problem Report #25798

Received: (qmail 16462 invoked by uid 605); 3 Jun 2004 13:36:31 -0000
Message-Id: <20040603131345.60FB91502B@firefly.localdomain>
Date: Thu,  3 Jun 2004 22:13:45 +0900 (JST)
From: hira@po6.nsk.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: usage of envstat(8) is outdated
X-Send-Pr-Version: 3.95

>Number:         25798
>Category:       bin
>Synopsis:       usage of envstat(8) is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 03 13:37:00 +0000 2004
>Closed-Date:    Thu Jun 03 14:51:49 +0000 2004
>Last-Modified:  Thu Jun 03 14:52:00 +0000 2004
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #20: Thu Jun 3 11:11:44 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	Usage of envstat(8) is outdated.

% envstat -c
usage: envstat [-cr] [-s s1,s2,...] [-i interval] [-n headrep] [-w width] [device]
       envstat -l [device]
%

>How-To-Repeat:
	envstat -c

>Fix:
	sync with manpage

Index: envstat.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.sbin/envstat/envstat.c,v
retrieving revision 1.19
diff -u -r1.19 envstat.c
--- envstat.c	25 Mar 2004 01:26:57 -0000	1.19
+++ envstat.c	3 Jun 2004 10:57:30 -0000
@@ -349,7 +349,7 @@
 usage(void)
 {

-	(void)fprintf(stderr, "usage: %s [-cr] [-s s1,s2,...]", getprogname());
+	(void)fprintf(stderr, "usage: %s [-fr] [-s s1,s2,...]", getprogname());
 	(void)fprintf(stderr, " [-i interval] [-n headrep] [-w width]");
 	(void)fprintf(stderr, " [device]\n");
 	(void)fprintf(stderr, "       %s -l [device]\n", getprogname());

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Thu Jun 3 14:51:41 UTC 2004 
State-Changed-Why:  
Fixed, thanks. 

From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25798 CVS commit: src/usr.sbin/envstat
Date: Thu,  3 Jun 2004 14:51:32 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Jun  3 14:51:32 UTC 2004

 Modified Files:
 	src/usr.sbin/envstat: envstat.c

 Log Message:
 Sync usage with man page.
 From Kouichirou Hiratsuka in PR 25798.


 To generate a diff of this commit:
 cvs rdiff -r1.19 -r1.20 src/usr.sbin/envstat/envstat.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.