From owner-freebsd-bugs Wed Mar 12 12:10:11 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0C4637B401 for ; Wed, 12 Mar 2003 12:10:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A3BA43FCB for ; Wed, 12 Mar 2003 12:10:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2CKA7NS068709 for ; Wed, 12 Mar 2003 12:10:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2CKA72F068708; Wed, 12 Mar 2003 12:10:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4667F37B401 for ; Wed, 12 Mar 2003 12:07:16 -0800 (PST) Received: from mail.farley.org (adsl-67-64-95-201.dsl.austtx.swbell.net [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D40743F3F for ; Wed, 12 Mar 2003 12:07:13 -0800 (PST) (envelope-from sean@farley.org) Received: from thor.farley.org (46ddx1zv8l6srpym@thor.farley.org [IPv6:2002:4340:5fc9::5]) by mail.farley.org (8.12.8/8.12.8) with ESMTP id h2CK7CPs044147 for ; Wed, 12 Mar 2003 14:07:12 -0600 (CST) (envelope-from sean@gw.farley.org) Received: from thor.farley.org (localhost [127.0.0.1]) by thor.farley.org (8.12.8/8.12.8) with ESMTP id h2CK7Cuk001121 for ; Wed, 12 Mar 2003 14:07:12 -0600 (CST) (envelope-from sean@thor.farley.org) Received: (from sean@localhost) by thor.farley.org (8.12.8/8.12.8/Submit) id h2CK7CwK001120; Wed, 12 Mar 2003 14:07:12 -0600 (CST) (envelope-from sean) Message-Id: <200303122007.h2CK7CwK001120@thor.farley.org> Date: Wed, 12 Mar 2003 14:07:12 -0600 (CST) From: "Sean C. Farley" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/49968: ipcs is incorrectly documented Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 49968 >Category: bin >Synopsis: ipcs is incorrectly documented >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 12 12:10:06 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sean C. Farley >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: System: FreeBSD thor.farley.org 4.8-RC FreeBSD 4.8-RC #1: Mon Mar 10 20:14:00 CST 2003 root@thor.farley.org:/usr/obj/usr/src/sys/THOR i386 >Description: The built-in usage for ipcs lacks the M, Q, S and T options while the man page has the description of the C and N options reversed. I tried to spruce up the man page. This is the first time I have edited a man page; I think it still works. >How-To-Repeat: >Fix: Patch for the code and man page: --- src/usr.bin/ipcs/ipcs.1.orig Wed Mar 12 12:43:45 2003 +++ src/usr.bin/ipcs/ipcs.1 Wed Mar 12 12:58:15 2003 @@ -38,8 +38,8 @@ .Sh SYNOPSIS .Nm .Op Fl abcmopqstMQST -.Op Fl C Ar system -.Op Fl N Ar core +.Op Fl C Ar corefile +.Op Fl N Ar namelist .Sh DESCRIPTION The .Nm @@ -97,16 +97,19 @@ the last send or receive of a message, the last attach or detach of a shared memory segment, or the last operation on a semaphore. -.It Fl C Ar system -Extract the name list from the specified system instead of the -default -.Dq Pa /kernel . -.It Fl M -Display system information about shared memory. -.It Fl N Ar core +.It Fl C Ar corefile Extract values associated with the name list from the specified -core instead of the default +file +.Ar corefile +instead of the default .Dq Pa /dev/kmem . +.It Fl M +Display system information about shared memory. +.It Fl N Ar namelist +Extract the name list from the specified file +.Ar namelist +instead of the default +.Dq Pa /kernel . .It Fl Q Display system information about messages queues. .It Fl S --- src/usr.bin/ipcs/ipcs.c.orig Wed Mar 12 12:43:55 2003 +++ src/usr.bin/ipcs/ipcs.c Wed Mar 12 12:54:12 2003 @@ -482,6 +482,6 @@ { fprintf(stderr, - "usage: ipcs [-abcmopqst] [-C corefile] [-N namelist]\n"); + "usage: ipcs [-abcmopqstMQST] [-C corefile] [-N namelist]\n"); exit(1); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message