From nobody@FreeBSD.org  Sun Mar 21 13:26:32 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0EBA016A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Mar 2004 13:26:32 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0B16A43D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Mar 2004 13:26:32 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2LLQV72089091
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 21 Mar 2004 13:26:31 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i2LLQV2N089089;
	Sun, 21 Mar 2004 13:26:31 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403212126.i2LLQV2N089089@www.freebsd.org>
Date: Sun, 21 Mar 2004 13:26:31 -0800 (PST)
From: Daniel Klein <dvk@lonewolf.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: -V, --version doesn't work in wdiff
X-Send-Pr-Version: www-2.3

>Number:         64548
>Category:       ports
>Synopsis:       -V, --version doesn't work in wdiff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 21 13:30:20 PST 2004
>Closed-Date:    Sun Mar 21 13:48:05 PST 2004
>Last-Modified:  Sun Mar 21 13:48:25 PST 2004
>Originator:     Daniel Klein
>Release:        4.9
>Organization:
>Environment:
FreeBSD howl.lonewolf.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003     root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
      The man page for wdiff says that there is a -v and a --version option.  However, "wdiff --help" says that there is a -V option.  None of -v, -V or --version works.  The problem is that getopts is looking for -V, but the switch statement below is looking for -v.  Personally, I think -v is correct and standard, but the code recognizes none of the possibilities.
>How-To-Repeat:
      run wdiff -v :-)
>Fix:
      Change the options string to add a -v switch, and change the switch statement to also recognize -V
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Mar 21 13:47:40 PST 2004 
State-Changed-Why:  
Is this specific to FreeBSD port? I think not. 
Please aim this feature request at wdiff authors. 

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