Bug #27150 mysql_convert_table_format: --help message is inaccurate
Submitted: 14 Mar 2007 19:05 Modified: 28 Apr 2009 18:36
Reporter: Paul DuBois Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version: OS:Linux (Linux)
Assigned to: Assigned Account CPU Architecture:Any

[14 Mar 2007 19:05] Paul DuBois
Description:
mysql_convert_table_format --help displays this output:

/usr/local/mysql/bin/mysql_convert_table_format  version 1.1

Conversion of a MySQL tables to other table types.

 Usage: /usr/local/mysql/bin/mysql_convert_table_format database [tables]
 If no tables has been specifed, all tables in the database will be converted.

 The following options are available:

--force
  Continue even if there is some error.

--help or --Information
  Shows this help

--host='host name' (Default localhost)
  Host name where the database server is located.

--password='password'
  Password for the current user.

--port=port
  TCP/IP port to connect to if host is not "localhost".

--socket='/path/to/socket'
  Socket to connect with.

--ENGINE='table-type'
  Converts tables to the given table type (Default: MYISAM)
  MySQL 3.23 supports at least the BDB, ISAM and MYISAM types.

--user='user_name'
  User name to log into the SQL server.

--verbose
  This is a test specific option that is only used when debugging a test.
  Print more information about what is going on.

--version
  Shows the version of this program.

That's inaccurate. For example, there is no --Information option.
The --ENGINE option is called --type. There might be other problems.

How to repeat:
Examine --help output, compare with the argument
passed to GetOptions().

Suggested fix:
Make the --help message reflect reality. :-)

Note: The script also does not support "short"
options. Those could be added to make the script
more like other MySQL programs. Thanks.
[14 Mar 2007 23:01] MySQL Verification Team
Thank you for the bug report.
[11 Aug 2007 18:09] MySQL Verification Team
See bug: http://bugs.mysql.com/bug.php?id=30373.
[28 Apr 2009 18:36] Jim Winstead
This is fixed by the patch for bug #27149, so I'm just going to call it a duplicate.