Red Hat Bugzilla – Bug 441532
Output of help for ferror is mangled
Last modified: 2016-09-19 22:10:53 EDT
Description of problem:
When you try to get help for the ferror command with 'ferror -help', you see
the output quite badly mangled and badly readable. The problem is that is seems
that in the line for '-e' option, '--error' and the description for the option
are switched, which renders first column too long, making the second very
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1. ferror -help
Looks to be fixed upstream.
It does look like it is solved upstream, but appearances can deceive :) It looks
fixed because the option groups changed, so -e is the only option in its group.
But if you look closely you see that it is still strangely formatted:
-e error regex to catch in double quotes -e "<error string>" --error
The real problem is that it was using the wrong Options constructor (wrong order
of arguments. I pushed a fix upstream:
Author: Mark Wielaard <email@example.com>
Date: Thu Apr 10 12:27:05 2008 +0200
Use correct Options constructor for ferror.
2008-04-10 Mark Wielaard <firstname.lastname@example.org>
* ferror.java (options): Use correct Options constructor.
Now it says:
-e, -error <error string> error regex to catch in double quotes