mysql_config returns non-zero when running without parameters

Description

When running mysql_config without any parameters, it returns 1 as exit code. It seems like improper behaviour, because any arguments are voluntary according to usage description. So it seems it should exit with 0 when running without any parameters.

This is obviously not a serious bug, but can make problems for some tools that handle exit codes automatically.

This can be a fix:

Environment

Linux

Assignee

Sergei Golubchik

Reporter

Honza Horak

Labels

None

Fix versions

Affects versions

Priority

Minor
Configure