From phrac@disflux.dhs.org  Wed Feb 20 19:19:55 2002
Return-Path: <phrac@disflux.dhs.org>
Received: from disflux.dhs.org (tconl90110.tconl.com [204.26.90.110])
	by hub.freebsd.org (Postfix) with ESMTP id 07BEB37B416
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Feb 2002 19:19:51 -0800 (PST)
Received: (from phrac@localhost)
	by dekay.disflux.org (8.11.6/8.11.6) id g1L120K00484;
	Wed, 20 Feb 2002 19:02:00 -0600 (CST)
	(envelope-from phrac)
Message-Id: <200202210102.g1L120K00484@dekay.disflux.org>
Date: Wed, 20 Feb 2002 19:02:00 -0600 (CST)
From: phrac <phrac@disflux.dhs.org>
Reply-To: phrac <phrac@disflux.dhs.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: no -h option listed for portmap
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35164
>Category:       misc
>Synopsis:       no -h option listed for portmap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 19:20:00 PST 2002
>Closed-Date:    Thu Feb 21 03:27:47 PST 2002
>Last-Modified:  Thu Feb 21 03:28:41 PST 2002
>Originator:     phrac
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD dekay.disflux.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 giving a bad option to portmap, there is no -h option listed in
the command line help, although there is an -h option listed in the man
page.
>How-To-Repeat:
	[phrac@dekay: ~]$ portmap -h
	portmap: option requires an argument -- h
	usage: portmap [-dv]
>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 <IP ADDRESS>]\n");
 	exit(1);
 }
 
--- portmap.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cjc 
State-Changed-When: Thu Feb 21 03:27:47 PST 2002 
State-Changed-Why:  
Fix committed to -STABLE (portmap(8) does not exist in -CURRENT). 
Thanks for the report. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35164 
>Unformatted:
