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).

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.