Bug #43636 -skip-set-charset should be preceded by a double hyphen
Submitted: 13 Mar 2009 15:23 Modified: 13 Mar 2009 15:37
Reporter: Todd Keup Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.0, 5.1, 6.0 OS:Any
Assigned to: Paul Dubois CPU Architecture:Any
Tags: mysqldump skip-set-charset

[13 Mar 2009 15:23] Todd Keup
Description:
The online manual page for 
"4.5.4. mysqldump — A Database Backup Program"
located at
http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
has a small typographical error in the table,
Table 4.5. mysqldump Option Reference

The value for 

-skip-set-charset

includes only a single hyphen in the "Format" column.  I believe this is meant to be a double hyphen as using a single hyphen from the command line will cause an error:

mysqldump: unknown option '-s'

How to repeat:
Documentation bug only, but from the command line you can try ...

mysqldump test --skip-opt --skip-comments --no-data -skip-set-charset > /test.sql

Suggested fix:
Change to double hyphen

-skip-set-charset
[13 Mar 2009 15:37] Paul Dubois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

perror --info option also was listed with a single dash. Fixed that, too.