Bug 293061

Summary: Cowsay doesn't let Getopt::Std support --help correctly.
Product: [Fedora] Fedora Reporter: Lubomir Kundrak <lkundrak>
Component: cowsayAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7Keywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.03-4.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-24 07:15:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix none

Description Lubomir Kundrak 2007-09-17 11:36:00 UTC
Description of problem:

Cowsay doesn't let Getopt::Std support --help correctly.

Version-Release number of selected component (if applicable):

cowsay-3.03-2.fc7

Steps to Reproduce:
1. cowsay --help
  
Actual results:

$ cowsay --help
/usr/bin/cowsay version [unknown] calling Getopt::Std::getopts (version 1.05
[paranoid]),
running under Perl version 5.8.8.

Usage: cowsay [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]

The following single-character options are accepted:
        With arguments: -e -f -T -W
        Boolean (without arguments): -b -d -g -h -l -L -n -N -p -s -t -w -y

Options may be merged together.  -- stops processing of options.
Space is not required between options and their arguments.
  [Now continuing due to backward compatibility and excessive paranoia.
   See ``perldoc Getopt::Std'' about $Getopt::Std::STANDARD_HELP_VERSION.]
^C
$

Expected results:

cow{say,think} version 3.03, (c) 1999 Tony Monroe
Usage: cowsay [-bdgpstwy] [-h] [-e eyes] [-f cowfile] 
          [-l] [-n] [-T tongue] [-W wrapcolumn] [message]

Comment 1 Lubomir Kundrak 2007-09-17 11:40:54 UTC
Created attachment 197261 [details]
Fix

Patch commited to rawhide.

Comment 2 Fedora Update System 2007-10-11 01:46:02 UTC
cowsay-3.03-4.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cowsay'

Comment 3 Fedora Update System 2007-10-24 07:15:14 UTC
cowsay-3.03-4.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.