Bug #40963 mysql-proxy --help output is hard to read
Submitted: 24 Nov 2008 4:19 Modified: 24 Nov 2008 15:53
Reporter: Baron Schwartz (Basic Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Proxy Severity:S3 (Non-critical)
Version:0.6.1, 0.7.0 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: qc

[24 Nov 2008 4:19] Baron Schwartz
Description:
The proxy help is way wider than a default terminal.  It should be formatted to fit.  There is a huge amount of whitespace between the options and description, which makes it too wide, and also makes it hard to see which thing goes which which.

How to repeat:
Run mysql-proxy --help.
[24 Nov 2008 15:53] Valeriy Kravchuk
Thank you for a problem report. Verified just as described with 0.7.0:

Usage:
  mysql-proxy.exe [OPTION...] - MySQL App Shell

Help Options:
  -?, --help                                          Show help options
  --help-all                                          Show all help options
  --help-admin                                        Show options for the admin
-module
  --help-proxy                                        Show options for the proxy
-module

Application Options:
  -V, --version                                       Show version
  --defaults-file=<file>                              configuration file
  --daemon                                            Start in daemon-mode
  --basedir=<absolute path>                           Base directory to prepend
to relative paths in the config
  --pid-file=<file>                                   PID file in case we are st
arted as daemon
  --plugin-dir=<path>                                 path to the plugins
  --plugins=<name>                                    plugins to load
  --log-level=(error|warning|info|message|debug)      log all messages of level
... or higer
  --log-file=<file>                                   log all messages in a file

  --log-use-syslog                                    log all messages to syslog

  --log-backtrace-on-crash                            try to invoke debugger on
crash
  --keepalive                                         try to restart the proxy i
f it crashed
[25 Feb 2009 13:20] Kay Roepke
The problem is that glib2 does not offer a shorter version.
We would either need to reimplement some of the logic to provide a more concise help page, or extend glib2 and submit it upstream.

I've added a Launchpad blueprint in case someone from the community wants to help out.
Please refer to https://blueprints.launchpad.net/mysql-proxy/+spec/make-help-less-verbose