Bug 293061 - Cowsay doesn't let Getopt::Std support --help correctly.
Summary: Cowsay doesn't let Getopt::Std support --help correctly.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cowsay
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-17 11:36 UTC by Lubomir Kundrak
Modified: 2009-01-07 18:09 UTC (History)
0 users

Fixed In Version: 3.03-4.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-24 07:15:16 UTC
Type: ---


Attachments (Terms of Use)
Fix (1.84 KB, patch)
2007-09-17 11:40 UTC, Lubomir Kundrak
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.