Bug #4914 mysqldumpslow doesn't accept --help
Submitted: 5 Aug 2004 18:38 Modified: 9 Mar 2005 14:12
Reporter: Harrison Fisk Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:4.0.20 OS:
Assigned to: Kent Boortz CPU Architecture:Any

[5 Aug 2004 18:38] Harrison Fisk
Description:
The perl utility mysqldumpslow doesn't accept --help.  It gives an error saying that --help isn't a valid option.

How to repeat:
shell$ mysqldumpslow --help
Unknown option: help
Bad option at /usr/local/mysql/bin/mysqldumpslow line 19.

Suggested fix:
Make --help output all of the possible options for mysqldumpslow, the same as all other clients and utilities.
[5 Aug 2004 19:03] Paul DuBois
Actually, it doesn't accept *any* long options.
[5 Aug 2004 21:30] Harrison Fisk
> Actually, it doesn't accept *any* long options.

I wouldn't know, because I couldn't get it to list the options at all.  While we are at it, there also seems to be a lack of documentation about this tool.
[9 Mar 2005 14:12] Kent Boortz
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html
[9 Mar 2005 15:33] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/22845