Bug 628507 - [RFE]It's better to support #fadot --help or #fadot -h
Summary: [RFE]It's better to support #fadot --help or #fadot -h
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: augeas
Version: 6.1
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: David Lutterkort
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-30 09:15 UTC by Rita Wu
Modified: 2013-07-03 01:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 15:10:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0967 0 normal SHIPPED_LIVE augeas bug fix and enhancement update 2012-06-19 21:12:00 UTC

Description Rita Wu 2010-08-30 09:15:45 UTC
Description of problem:
fadot doesn't have manual page, so it's better to add "--help -h" command as usual. 

# fadot -h
Unknown option `-h'.

Usage: fadot [OPTIONS] REGEXP

Compile REGEXP and apply operation to them. By default, just print
the minimized regexp.

Options:

  -o OPERATION       one of : show concat union intersect
                              complement minus example
  -f DOT_FILE        Path of output .dot file
  -n                 do not minimize resulting finite automaton

# fadot --help
Unknown option `--'.

Usage: fadot [OPTIONS] REGEXP

Compile REGEXP and apply operation to them. By default, just print
the minimized regexp.

Options:

  -o OPERATION       one of : show concat union intersect
                              complement minus example
  -f DOT_FILE        Path of output .dot file
  -n                 do not minimize resulting finite automaton


Version-Release number of selected component (if applicable):
augeas-0.7.2-3.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.# fadot -h
2.# fadot --help

  
Actual results:
Unknown option `-h' or Unknown option `--'

Expected results:
support --help -h

Additional info:

Comment 11 errata-xmlrpc 2012-06-20 15:10:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0967.html


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