From owner-freebsd-bugs Wed Feb 20 17:20:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 55D1637B417 for ; Wed, 20 Feb 2002 17:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1L1K1c09335; Wed, 20 Feb 2002 17:20:01 -0800 (PST) (envelope-from gnats) Received: from disflux.dhs.org (tconl90110.tconl.com [204.26.90.110]) by hub.freebsd.org (Postfix) with ESMTP id 2EB5537B419 for ; Wed, 20 Feb 2002 17:18:22 -0800 (PST) Received: (from phrac@localhost) by disflux.dhs.org (8.11.6/8.11.6) id g1L1JOM00648; Wed, 20 Feb 2002 19:19:24 -0600 (CST) (envelope-from phrac) Message-Id: <200202210119.g1L1JOM00648@disflux.dhs.org> Date: Wed, 20 Feb 2002 19:19:24 -0600 (CST) From: phrac Reply-To: phrac To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: misc/35163: 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: 35163 >Category: misc >Synopsis: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 20 17:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: phrac >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD disflux.dhs.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 17 06:57:42 CST 2002 root@:/usr/obj/usr/src/sys/dekay i386 >Description: When running portmap with an illegal option, it displays a list of available options. Missing from this list is the -h option, which is documented in the man pages. >How-To-Repeat: [phrac@disflux: ~]$ portmap -h portmap: option requires an argument -- h usage: portmap [-dv] [phrac@disflux: ~]$ >Fix: --- portmap.diff begins here --- --- portmap.c.orig Wed Feb 20 17:37:13 2002 +++ portmap.c Wed Feb 20 16:48:01 2002 @@ -239,7 +239,7 @@ static void usage() { - fprintf(stderr, "usage: portmap [-dv]\n"); + fprintf(stderr, "usage: portmap [-dv -h ]\n"); exit(1); } --- portmap.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message