Bug #36849 deprecated mysql options
Submitted: 21 May 2008 9:52 Modified: 29 Jul 2008 16:08
Reporter: Roland Bouman Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.1.23 OS:Any
Assigned to: MC Brown CPU Architecture:Any

[21 May 2008 9:52] Roland Bouman
Description:
The mysql options are documented in http://dev.mysql.com/doc/refman/5.1/en/mysql-command-options.html

However, that pages does not note that some options are deprecated. 

mysql --help shows all options. (maybe the doc can be generated from this output? just an idea probably on your mind already...)

 -g, --no-named-commands
                     Named commands are disabled. Use \* form only, or use
                     named commands only in the beginning of a line ending
                     with a semicolon (;) Since version 10.9 the client now
                     starts with this option ENABLED by default! Disable with
                     '-G'. Long format commands still work from the first
                     line. WARNING: option deprecated; use
                     --disable-named-commands instead.
 -L, --skip-line-numbers
                     Don't write line number for errors. WARNING: -L is
                     deprecated, use long version of this option instead.

  -N, --skip-column-names
                      Don't write column names in results. WARNING: -N is
                      deprecated, use long version of this options instead.

  --no-tee            Disable outfile. See interactive help (\h) also. WARNING:
                      option deprecated; use --disable-tee instead

How to repeat:
NA

Suggested fix:
NA
[21 May 2008 10:52] MySQL Verification Team
Thank you for the bug report.
[29 Jul 2008 16:08] MC Brown
The documentation has been updated with the deprecated information across all three versions (5.0/5.1/6.0).