Bug 64548

Summary: -V, --version doesn't work in wdiff
Product: Ports & Packages Reporter: Daniel Klein <dvk>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Daniel Klein 2004-03-21 21:30:20 UTC
      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.

Fix: 

Change the options string to add a -v switch, and change the switch statement to also recognize -V
How-To-Repeat:       run wdiff -v :-)
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-03-21 21:47:40 UTC
State Changed
From-To: open->closed

Is this specific to FreeBSD port? I think not. 
Please aim this feature request at wdiff authors.