Bug #66665 -m option does not work
Submitted: 3 Sep 2012 10:47 Modified: 3 Sep 2012 12:58
Reporter: Peter Laursen (Basic Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.1.63, 5.5.23 OS:Windows
Assigned to: CPU Architecture:Any

[3 Sep 2012 10:47] Peter Laursen
Description:
http://dev.mysql.com/doc/refman/5.1/en/mysql-command-options.html#option_mysql_column-type...:

--column-type-info, -m 

 Display result set metadata. This option was added in MySQL 5.1.14. (Before that, use --debug-info.) The -m short option was added in MySQL 5.1.21.

.. but the short from "-m" is not recognized

How to repeat:
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysql -uroot -p -m
mysql: unknown option '-m'

C:\Program Files\MySQL\MySQL Server 5.5\bin>mysql -uroot -p --column-type-info
Enter password: ********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.5.23 MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Suggested fix:
?
[3 Sep 2012 12:58] MySQL Verification Team
Thank you for the bug report. Maybe a documentation bug, anyway verified as described:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

h:\dbs>5.1\bin\mysql -uroot -p -m
5.1\bin\mysql: unknown option '-m'

h:\dbs>5.5\bin\mysql -uroot -p -m
5.5\bin\mysql: unknown option '-m'