Bug #77836 mysqlslap --help does not print option defaults
Submitted: 25 Jul 2015 17:22 Modified: 26 Jul 2015 5:55
Reporter: Paul Dubois Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.x, 5.5.46, 5.6.27, 5.7.9 OS:Any
Assigned to: CPU Architecture:Any

[25 Jul 2015 17:22] Paul Dubois
Description:
Most MySQL program --help messages print a list of option defaults after the option descriptions. mysqlslap does not.

How to repeat:
Compare output of mysqlslap --help with, for example, mysql --help.

Suggested fix:
Look for:
  my_print_help(my_long_options);

Add following that line:
  my_print_variables(my_long_options);
[26 Jul 2015 5:55] Umesh Shastry
Hello Paul,

Thank you for the bug report.
Verified as described with latest 5.5/5.6 and 5.7 builds.

Thanks,
Umesh