Bug 795415 - genbrk --version fails with "error in command line argument"
Summary: genbrk --version fails with "error in command line argument"
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: icu
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Eike Rathke
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 13:00 UTC by David Tardon
Modified: 2012-02-29 21:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 17:52:14 UTC
Type: ---


Attachments (Terms of Use)

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..


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