Bug 795415

Summary: genbrk --version fails with "error in command line argument"
Product: [Fedora] Fedora Reporter: David Tardon <dtardon>
Component: icuAssignee: Eike Rathke <erack>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: denis.arnaud_fedora, erack
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-20 17:52:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Tardon 2012-02-20 13:00:10 UTC
Description of problem:
SSIA

Version-Release number of selected component (if applicable):
icu-4.6-3.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. genbrk --version
  
Actual results:
error in command line argument "--version"
Usage: genbrk [-v] [-options] -r rule-file -o output-file
	Read in break iteration rules text and write out the binary data
options:
	-h or -? or --help  this usage text
	-V or --version     show a version message
	-c or --copyright   include a copyright notice
	-v or --verbose     turn on verbose output
	-i or --icudatadir  directory for locating any needed intermediate data files,
	                    followed by path, defaults to 
	-d or --destdir     destination directory, followed by the path

Expected results:
version string

Additional info:
--help/--copyright (does not) work in the same way.

Comment 1 Eike Rathke 2012-02-20 17:52:14 UTC
Apparently this never worked, tried also with LibO's 4.4 and Wheezy's 4.8

Filed upstream as http://bugs.icu-project.org/trac/ticket/9124

Note: --help and --copyright actually do work. --help displays the help (without mentioning an error), the --copyright option writes a copyright notice to the generated output file, not stdout.

Comment 2 Eike Rathke 2012-02-29 21:27:40 UTC
Upstream bug was closed with

    Resolution set to workingasdesigned

    use 'icuinfo'.


That indeed gives a bunch of information..