Bug #39621 man page for mysqlimport has short version of --columns in the --host section
Submitted: 24 Sep 2008 8:41 Modified: 2 Oct 2008 15:21
Reporter: Janek Bogucki Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Documentation Severity:S4 (Feature request)
Version:mysqlimport Ver 3.5 Distrib 5.0.51a, fo OS:Linux (Ubuntu 8.04.1)
Assigned to: Paul DuBois CPU Architecture:Any
Tags: columns, man page, mysqlimport

[24 Sep 2008 8:41] Janek Bogucki
Description:
`man mysqlimport` includes the short version of --columns (-c) in the --host section instead of the --columns section

How to repeat:
Read the man page for mysqlimport. This will be seen,

       +---------------------------------------+-------------------------------+-------------------------------+------------+
       |--host=host_name                       | host                          |                               |            |
       +---------------------------------------+-------------------------------+ Connect to the MySQL server   +------------+
       |-h host_name                           |                               | on the given host             |            |
       +---------------------------------------+-------------------------------+                               +------------+
       |-c columns_list                        |                               |                               |            |
       +---------------------------------------+-------------------------------+-------------------------------+------------+
 

Suggested fix:
Move the short version of --columns into the --columns section
[24 Sep 2008 8:43] Janek Bogucki
The short version of --password is also in the wrong section. It is in the --compress section
[24 Sep 2008 8:45] Janek Bogucki
The short version of --version (-V) is also in the wrong section. It is in the --debug section.
[24 Sep 2008 8:47] Janek Bogucki
The short version of --replace (-r) is missing from the option table but present in the description that comes later.
[30 Sep 2008 17:47] Paul DuBois
The man page doesn't include the option table. What version of MySQL is this from?
[2 Oct 2008 8:04] Janek Bogucki
I am using mysqlimport  Ver 3.5 Distrib 5.0.51a, for debian-linux-gnu (i486)

$ cat /etc/issue
Ubuntu 8.04.1 \n \l

$ dpkg -l|grep ' mysql-'
ii  mysql-admin                                   5.0~rc12-2ubuntu1                        GUI tool for intuitive MySQL administration
ii  mysql-client-5.0                              5.0.51a-3ubuntu5.3                       MySQL database client binaries
ii  mysql-common                                  5.0.51a-3ubuntu5.3                       MySQL database common files
ii  mysql-gui-tools-common                        5.0~rc12-2ubuntu1                        Architecture independent files for MySQL GUI
ii  mysql-query-browser                           5.0~rc12-2ubuntu1                        Official GUI tool to query MySQL database
ii  mysql-server-5.0                              5.0.51a-3ubuntu5.3                       MySQL database server binaries

$ mysqlimport -V
mysqlimport  Ver 3.5 Distrib 5.0.51a, for debian-linux-gnu (i486)
[2 Oct 2008 15:21] Paul DuBois
Thanks for the feedback, that explains it. The version you have includes man pages preceding a change we made to strip out those tables. The current Community version (5.0.67) has man pages that do not exhibit the problem you report.

You can also access current man pages from our documentation page:

http://dev.mysql.com/doc/