Bug #38599 runtime arguments error message not informative enough
Submitted: 6 Aug 2008 11:27 Modified: 4 Jun 2009 12:25
Reporter: Domas Mituzas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Proxy: Core Severity:S3 (Non-critical)
Version:bzrsvnbkcvstrunkhead OS:Any
Assigned to: Jan Kneschke CPU Architecture:Any

[6 Aug 2008 11:27] Domas Mituzas
Description:
Hi! Proxy doesn't like -h, and doesn't explain why :(

How to repeat:
bash-3.2# sbin/mysql-proxy -h
2008-08-06 14:26:22: (critical) Unknown option -h

Suggested fix:
print at least usage message, or even treat it as a help request
[4 Jun 2009 12:25] Kay Roepke
MySQL Proxy 0.7.1 will report the following now:

(critical) ../../src/chassis.c:810: Unknown option -h (use --help to show all options)

Not pretty, but addresses the problem (help options are -? and --help, not -h).